# Entering unit price with leading zero

**URL:** <https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275>\
**Category:** Uncategorized\
**Created:** [September 27, 2018, 3:04pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275 "2018-09-27T15:04:09Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 27, 2018, 3:04pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/1 "2018-09-27T15:04:09Z")

</div>

Entering some amount on a sales , purchase invoice, receipt or payment if by accident you do not double click in the unit price box and start typing an amount after the default zero ([Remove the default 0](https://forum.manager.io/t/remove-or-autoselect-the-default-0/18114)) then the amount is not showing correct

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/5/3/53c594ddc1138f59bf2b39a73782c62aadaf85f6.jpeg)

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [September 27, 2018, 4:47pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/2 "2018-09-27T16:47:53Z")

</div>

I can reproduce this. I am putting this into the bugs category.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [September 27, 2018, 9:49pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/3 "2018-09-27T21:49:31Z")

</div>

Fixed in the latest version (18.10.1)

---

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 28, 2018, 10:21am UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/4 "2018-09-28T10:21:42Z")

</div>

18.10.3

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/a/b/ab133c5187e4cb38d2fc126f3a62a24ac3d752b8.png)

---

<div class="post-metadata">

**Author:** ![ntrim](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ntrim/32/18838_2.png) [@ntrim](https://forum.manager.io/u/ntrim)\
**Post date:** [September 28, 2018, 10:27am UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/5 "2018-09-28T10:27:20Z")

</div>

Why dot and not comma? In Greece we use the comma for decimal character.

---

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 28, 2018, 10:31am UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/6 "2018-09-28T10:31:25Z")

</div>

Hi @ntrim  
It used to work with either ( dot or comma ) . But this is also for the countries that do not use comma for decimal separator

---

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 28, 2018, 5:04pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/7 "2018-09-28T17:04:18Z")

</div>

@Tut Have you seen this ?

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [September 28, 2018, 5:22pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/8 "2018-09-28T17:22:45Z")

</div>

Yes, I saw your screen shot. But you did not explain why you posted it.

---

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 28, 2018, 5:29pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/9 "2018-09-28T17:29:13Z")

</div>

Sorry I thought it was obvious  
When entering an amount with a dot as decimal separator ( 163.9 ) the amount shows 1.639  
Also if you enter an amount with a comma as decimal sep but no digit(s) after the comma, then the box turns red and when hitting create no amount is registered

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [September 28, 2018, 6:05pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/10 "2018-09-28T18:05:05Z")

</div>

So are you continuing the discussion about default zeros or raising a new issue about comma versus dot separators?

---

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 28, 2018, 8:00pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/11 "2018-09-28T20:00:44Z")

</div>

Just saying the system shouldn’t react this way in both cases (bug ?)

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [September 28, 2018, 9:48pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/12 "2018-09-28T21:48:01Z")

</div>

The issue here is that Greece is using `.` (dot) as thousand separator. In this case, the system just assumes `.` is not significant and filters it out.

If you switch number format to something else where thousand separator is something else (e.g. space), then system will accept both `,` (comma) and `.` (dot) as decimal separators.

This is not a bug. In the end, your number format says `comma` is your decimal separator. Not `dot`. Manager will still treat `dot` as decimal separator but only if your number format doesn’t use `dot` as thousand separator.

---

<div class="post-metadata">

**Author:** ![NIKKON](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@NIKKON](https://forum.manager.io/u/NIKKON)\
**Post date:** [September 29, 2018, 7:33am UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/13 "2018-09-29T07:33:42Z")

</div>

@lubos  
Thanks for your detailed explanation.  
You might want to see the case where you enter an amount with a comma as decimal sep but no digit(s) after the comma, then the box turns red and when hitting create no amount is registered

---

<div class="post-metadata">

**Author:** ![Zas\_Trading](https://avatars.discourse-cdn.com/v4/letter/z/8491ac/32.png) [@Zas\_Trading](https://forum.manager.io/u/Zas_Trading)\
**Post date:** [October 3, 2018, 11:04am UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/14 "2018-10-03T11:04:27Z")

</div>

Hi @lubos,

I just installed manger latest version to 18.10.20.  
When i click New payment,New Invoices…I still see Default Zero in Unit Price.  
Also if i remove it under Form Defaults for any entry,its still shown if i click New payments

Example:  
Set New payment with Expense account in Form Defaults and remove zero in Price.  
.Click now on New payment.  
You will see Zero in unit price still.

Can we remove this Default Zero.

Thanks

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [January 18, 2023, 3:08pm UTC](https://forum.manager.io/t/entering-unit-price-with-leading-zero/18275/15 "2023-01-18T15:08:53Z")

</div>

Closed on January 18, 2023, 3:08pm UTC


