I am trying to make the text of something display only to a certain decimal point, i think it’s something like %f or something however I am not so sure. I want vx and vy to display only to the second decimal point. How do i accomplish this?? thank you [import]uid: 38977 topic_id: 19481 reply_id: 319481[/import]
I’m thinking…
string.format("%.2f",vx)
Croisened
[import]uid: 48203 topic_id: 19481 reply_id: 75222[/import]