Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GodotUser |
Example:
var afloat = 10.2354978
float(round(afloat)) # or is this float(round(afloat 2))
Expect: 10.24
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GodotUser |
Example:
var afloat = 10.2354978
float(round(afloat)) # or is this float(round(afloat 2))
Expect: 10.24
Reply From: | volzhs |
var afloat = 10.2354978
print(stepify(afloat, 0.01))
Excellent, thank you much!
GodotUser | 2019-07-09 21:21