How to convert Float to int without <decides>

I’m aware of functions like Int or similar but they all require “decides” effect, I can’t subscribe to function with such effect. Is there any workaround for this?

just putting it into an if statement, like this:

if (X := Round(Y)):

you can also use Ceil() to round up, and Floor() to round down.

2 Likes

One thing is that i needed to change brackets to square brackets inside if statement, but it worked nonetheless thanks <3

2 Likes

Ahh yes thank you for reminding me about that one

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