How to remove decimal integers from a text like 8.99998

I want to remove the .99998 from the number programitically so how can i.
I want this because there is a bug in addition i guess when sometimes i add two values the result i get is 9 + 0.05 = 9.0599999
I don’t know why but by this my Bill Split is crashing Help Please

There are some maths blocks that allows you to manage this type of issue.
Their use is not difficult to understand.

Capture

In you case, I suggest you to use either round or format as decimal number block

6 Likes

Yeah, as @Stiaen said, you should do it with floor

1 Like

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