Tox Posted October 16, 2015 Share 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. Link to comment
1LoL1 Posted October 16, 2015 Share Posted October 16, 2015 math.floor But i think math.floor is: 16.66666667 --> 16 Link to comment
Tox Posted October 16, 2015 Author Share 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 Link to comment
Moderators IIYAMA Posted October 16, 2015 Moderators Share Posted October 16, 2015 https://wiki.multitheftauto.com/wiki/Math.round Link to comment
Tox Posted October 16, 2015 Author Share Posted October 16, 2015 https://wiki.multitheftauto.com/wiki/Math.round Thank you a lot. Link to comment
Moderators IIYAMA Posted October 16, 2015 Moderators Share Posted October 16, 2015 np. Link to comment
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