How to parse float to int using verse

Let’s suppose I have 4.2 and i want to parse into 4. Is it possible?

1 Like

Hello You have some functions implemented in verse to parse like you want: round, floor, ceil etc.
i show you small script to do it:
image

if you right click in the Round func you can go to the definition and check all this functions to use the one more fits with what you want to do.

4 Likes

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