How do I get commas to appear in Math functions that result in more than 999? And how about $s when working w/ money?

I’m trying to get both commas and $s to appear for monetary figures, as my users will be calculating billions of dollars.

And I’d also like to know how to allow my users to use commas when inputting figures larger than 999, as I only get accurate calculations so long as no commas are used in the input fields.

Help! Thanks!
Chris

Hi planetjensen0spgxd, welcome to Thunkable! :tada:

Be sure to check out How to ask Great Questions v2.0, the Community Guidelines, and our Getting Started Guide to make the best of your Thunkable Community experience!

Here are some example ways to build this:
Display Custom number formats - Free Templates, Designs, and Block Combinations - Community (thunkable.com)

Formatting Numbers with Commas - Tutorials and DIY Guides - Community (thunkable.com)

Hey, Ioannis.

So WOW, that’s a lot of steps. Okay. Quick question below.

So my user pastes a few numbers - complete with commas - into my input fields, and these are the blocks I need to calculate, add commas to the final math solution, complete with a $ symbol?

Or do I need to omit some of what I see on this image?

Thanks,
Chris

From “Ioannis Roungeris via Community” <notifications@thunkable.discoursemail.com>
To planetjensen@mail.com
Date 9/12/2024 10:18:27 AM
Subject [Community] [Questions about Thunkable] How do I get commas to appear in Math functions that result in more than 999? And how about $s when working w/ money?

Hello Chis,
On the community post, there is a link for accessing the project so you can test it and find the answers to your questions. Thunkable

Thanks for that, Ioannis. But in the app I’m building, the solution appears in a new field below after the user has inputted a few numbers and pressed a button marked Calculate.

The link you gave me performs a function similar to mine, but not quite the same.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.