AndyC1000
asked on
Java how to get remainder from calculation
Dear all,
How do I retrieve the remainder of the timestep_as_double calculation.
double timestep_as_double = 98/48;
i.e. the value of above calculation is 2.01466666, I want to pull out .0146666.
Thanks
How do I retrieve the remainder of the timestep_as_double calculation.
double timestep_as_double = 98/48;
i.e. the value of above calculation is 2.01466666, I want to pull out .0146666.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.