Why this example will return 0.93
> trunc(0.94/100*100*100)/100
[1] 0.93
but this example:
> trunc(0.94*100)/100
[1] 0.94
returns 0.94. It is floating point error. How can I transform result of the calculations 0.94/100*100*100
in normal 94?