Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on October 18, 2018, 02:16:51 PM
-
Hi !
How to display score in "K" ?
For example, If score is 12748, it show 12.74 K
:)
-
If it's just K, divide by 1000, rounding down, and adding a K. Check the math actions, and build string.
-
Hi,
yes, sounds like the right approach, you can find some code samples on how to do a proper formatter for this:
https://stackoverflow.com/questions/2134161/format-number-like-stack-overflow-rounded-to-thousands-with-k-suffix
Bye,
Jean
-
Yay !
Did that :)
Thanks