跳至第一个未读帖子

aumandg

未读,
2017年5月1日 22:02:272017/5/1
收件人 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

未读,
2017年5月2日 08:12:292017/5/2
收件人 MIT App Inventor Forum

SteveJG

未读,
2017年5月2日 08:56:332017/5/2
收件人 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

未读,
2017年5月2日 12:29:032017/5/2
收件人 MIT App Inventor Forum
See attached for another way to do it.
ABG

blocks.png
Thousandizer.aia

Boban Stojmenovic

未读,
2017年5月2日 18:30:332017/5/2
收件人 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!
  • -


回复全部
回复作者
转发
0 个新帖子