# Default values bug make numbers in the thousands convert to single digit

**URL:** https://forum.adalo.com/t/default-values-bug-make-numbers-in-the-thousands-convert-to-single-digit/39181
**Category:** Get Help
**Created:** [May 23, 2023, 9:25pm UTC](https://forum.adalo.com/t/default-values-bug-make-numbers-in-the-thousands-convert-to-single-digit/39181 "2023-05-23T21:25:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amer](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@amer](https://forum.adalo.com/u/amer)
#### Post date: [May 23, 2023, 9:25pm UTC](https://forum.adalo.com/t/default-values-bug-make-numbers-in-the-thousands-convert-to-single-digit/39181/1 "2023-05-23T21:25:37Z")

</div>

I am currently building an invoice application. I have had no issues getting a user to create an invoice including line items and their price.

If the user goes to edit the invoice (created separate screens for ‘edit’ that are different from the ‘create’ screens), there are default values in the form fields. That allows the user to see the values they already put in when they created the invoice and can choose to edit or not. So far so good.

However, there is an issue with numbers in the thousands after a user saves the form. Numbers in the thousands seem to be divided by a thousand (or my guess is that the comma in the thousands is considered as a decimal). That results in a number going from 1,200 to 1.2 after the user saves the edit form.

---

<div class="post-metadata">

### Author: ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)
#### Post date: [May 24, 2023, 7:07am UTC](https://forum.adalo.com/t/default-values-bug-make-numbers-in-the-thousands-convert-to-single-digit/39181/2 "2023-05-24T07:07:03Z")

</div>

Hi @amer ,

You can submit the bug to support.

> **[Submit a Support Ticket](https://info.adalo.com/submit-a-support-ticket)**
>
> Submit a support ticket for the Adalo Support team to help resolve issues, troubleshoot bugs, and offer app guidance.

Please attach the screenshots too, both the settings and the result.

---

<div class="post-metadata">

### Author: ![amer](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@amer](https://forum.adalo.com/u/amer)
#### Post date: [May 24, 2023, 8:00am UTC](https://forum.adalo.com/t/default-values-bug-make-numbers-in-the-thousands-convert-to-single-digit/39181/3 "2023-05-24T08:00:11Z")

</div>

I figured out the solution.

Essentially, the **number format** was considered to be **“default”** which includes commas in the thousands, millions, etc. (i.e. 1,200,000). When the user would submit a form, the comma would be considered a decimal and the number would change to a single digit (i.e. 1.2).

Therefore, I had to change the **number format** to **“none”** for each of the variables. This saves the numbers without any commas (i.e. 1200000). This resolved the issue!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)
#### Post date: [June 3, 2023, 8:00am UTC](https://forum.adalo.com/t/default-values-bug-make-numbers-in-the-thousands-convert-to-single-digit/39181/4 "2023-06-03T08:00:43Z")

</div>

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