Number Display

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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    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"

  • d_baer13d_baer13 Member Posts: 2

    @tatiang thank you so much! It's perfect!

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    You're welcome!

Sign In or Register to comment.