Number Display
d_baer13
Member Posts: 2
I would like to know how to change a large number, such as 1,500 to 1.5k with the k at the end to fit inside of a box. It is fine when the numbers are smaller such as 10 or 100, but anything after the 1000s doesnt fit. Thanks in advance!
Comments
You may need a more complex solution than this but I can't tell from the example you've given so here's a more simple answer that you can enter into the expression editor:
roundTo(1500/1000,1).."k"
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang thank you so much! It's perfect!
You're welcome!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User