As a beginner I struggle with floating point numbers

22 hours ago 3
ARTICLE AD BOX

Declaring variables, turning them into statements, and then there is a request for a conversion and I'm stuck. I have not yet rewired my brain to let go of the math & use the Java system.

Please explain how to convert a floating point number in the line before the print line after I've named the variables.

double variableOne;

double variable two;

The exercise becomes how to convert the double to an integer?

Read Entire Article