Modulus Component with Floating Point Values Returning Incorrect Results?

Using the modulus calculator with floating point values, I seem to be getting some incorrect results. For example, shouldn’t 16.5 % 0.25 return 0.0?

The result is still 0.0, but since you’re putting the result in a text panel some automatic formatting happens.

Whatever you do, only use the text panel to look at the values, but do not ever pass data through a text panel for further handling. The data to text conversion and then text to data conversion may very well lead to data loss.

1 Like