#How to round float to specific decimal number [Godot 4]

3 messages · Page 1 of 1 (latest)

whole wagon
#

Let's say I have a float that's equal 83.16792
How would I round it to 83.17 ?

I know for Godot 3 there's apparently the stepify() function, but it doesn't seem to exist in Godot 4.