I need help understanding the output of the frac() function. Per the example in the function reference, frac( 12.4 ) should return 0.4, however it actually returns 0.3999996. Is there something that I need to understand about floating point math here?

Got it, thanks for helping me understand. I need to spend some time learning about floating point math. It was too easy to just make a wrong assumption.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.