Skip to first unread message

aumandg

unread,
May 1, 2017, 10:02:27 PM5/1/17
to MIT App Inventor Forum
Is there a way to show a comma at the thousands point in a number?  Example app does math and the result is 12345678.90  I would like to see 12,345,678.90

Ghica

unread,
May 2, 2017, 8:12:29 AM5/2/17
to MIT App Inventor Forum

SteveJG

unread,
May 2, 2017, 8:56:33 AM5/2/17
to mitappinv...@googlegroups.com
This will add commas as a thousands separator in a number

segment is   ,.        comma period
replacement is .      period

Regards,
Steve

Abraham Getzler

unread,
May 2, 2017, 12:29:03 PM5/2/17
to MIT App Inventor Forum
See attached for another way to do it.
ABG

blocks.png
Thousandizer.aia

Boban Stojmenovic

unread,
May 2, 2017, 6:30:33 PM5/2/17
to MIT App Inventor Forum
Or use this TextUtils extension(https://amerkashi.wordpress.com/2017/03/09/textutils-extension/)
  • -
  • Format number for thousand separator and to include decimal points. This will also use proper country-based formatting!
  • -


Reply all
Reply to author
Forward
0 new messages