How to customize the number format?

How can I format the number with (.) And (,) Example: $ 1,000,000.00 in Thunkable X

I’m doing math operations and displaying on a label

Can someone help me? Thanks

Hi there,

Here is a sample app that will reformat any number to insert commas as you are talking about.
“10000” will be reformatted to “10,000”, “1000000” will be reformatted to “1,000,000”, etc.

This app will also remove excess zeros from the front of a number, eg. “01” will be reformatted to “1”, “00001110” will be reformatted to “1110”.
This can be removed by removing a block from the ‘cleanup’ function.

You can add any desired currency symbol by adding to the ‘join’ block in the ‘format number’ function.

You can see a previous tutorial in rounding numbers here.

Let me know if you have any questions about either of these sample apps!

Thanks,
Jane