Like for instance, if the number was 1,023, it would say 1K+, or if the number was 1,389,988,123 then it would say 1.3B+, and so on.

4 comments

0

1,389,988,123 would be rounded to 1.4B

0

Use a if statement -- if x > 5 then --

0

or you can count the # of digits and round the number

0

Here is a starting resource: http://lua-users.org/wiki/FormattingNumbers