+ 1
Manav Roy Can you provide an example of the code you used to get to your conclusion
25th Jan 2022, 10:11 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Quoted from http://www.cplusplus.com/reference/cmath/fmod/ "Returns the floating-point remainder of numer/denom (rounded towards zero):"
25th Jan 2022, 10:48 AM
Ipang
+ 1
0.2 is correct. Only integer have zero reminder when divided by 1
25th Jan 2022, 10:52 AM
SkyMat
SkyMat - avatar