Rounding error using stepify with set_text

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GodotUser

Hello,

Does anyone know of any rounding issues with floating point when using stepify with set_text?

Example I did a simple test to verify it works WITHOUT using set_text:
TestFloat
1.555
Stepify TestFloat:
1.56
When I use stepify WITH set_text I get 1.55

:bust_in_silhouette: Reply From: GodotUser
print(stepify(TestFloat, 0.01)) #bug

print(stepify(TestFloat, 0.02))#fix