Tox Posted October 16, 2015 Posted October 16, 2015 I am looking for math. function that will work to show only 2 digits after comma. Current is showing all the digits after it What does it look like now: 16.66666667 What do I want it to look like: 16.66 Thanks in advance.
1LoL1 Posted October 16, 2015 Posted October 16, 2015 math.floor But i think math.floor is: 16.66666667 --> 16
Tox Posted October 16, 2015 Author Posted October 16, 2015 well I know math.floor but this is for a K/D ratio so I will have to write last 2 digits as well. Thank you though
Moderators IIYAMA Posted October 16, 2015 Moderators Posted October 16, 2015 https://wiki.multitheftauto.com/wiki/Math.round
Tox Posted October 16, 2015 Author Posted October 16, 2015 https://wiki.multitheftauto.com/wiki/Math.round Thank you a lot.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now