Hey Guys I would like my SpriteFont to input any big number in a shorter way. For example:
"3k" for 3000 , "4m" for 4000000 etc.
I'm using construct 2.
Thanks in advance.
Develop games in your browser. Powerful, performant & highly capable.
Userame
the easiest way to is pass the number into a function, then you can round it as you want, decide how many decimal places (if any) and then return the result...
https://www.rieperts.com/games/forum/roundnumber.capx
This is a very popular question here, try searching the forum. Also, check out this tutorial:
construct.net/en/tutorials/umber-units-for-exponential-games-955