About 0.76% in 0.25 to take the remaining value

0.76% 0.25 residue after the value should be 0.01, but this value is

>>> 0.76 % 0.25
0.010000000000000009


There are 0.85% and 0.25, the feeling should be 0.1, but received,

>>> 0.85 % 0.25
0.099999999999999978


Don't float have different places, please enlighten

Started by Katherine at February 07, 2016 - 12:32 AM

This is searchable, there is aExplain.

Posted by Judith at February 20, 2016 - 1:18 AM

Around the corner, the variable multiplied by 100 after the remainder

Posted by Katherine at February 25, 2016 - 2:02 AM

The first time that a remainder of floating point numbers

Teacher of physical education teaching when I said, the remainder is two integer division, in addition to not only produce. Haven't heard two floating point numbers and indivisible

Posted by Mike at January 06, 2017 - 10:17 PM

Dizzy, be subject to mislead

Posted by Katherine at January 08, 2017 - 11:40 PM

Posted by Mike at January 11, 2017 - 11:56 PM

It seems 4 building positive solution´╝ü

Posted by Jenny at January 12, 2017 - 10:54 PM