I'm seeking to create a cash trade calculator . However the result's appearing NaN. What I actually have attempted: This is the code ...