The Calc field has a bug when dealing with Norwegian (Scandnavian) number formats.
When my form tries to sum up values in the the sub firm wich has the format "1.000,00", it doesn't reckon the "," as a decimal separator. Thus "1.234,56" is reckoned as 123456 when it sums up, and all my form numbers became 100 times bigger than they should.
Changing the format to "1000.00" solved the problem. This is a well known JavaScript problem.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Bug in Calc field
-
- Posts: 37
- Joined: Sun Apr 21, 2013 10:58 pm
Re: Bug in Calc field
Agnar,
I think I have fixed that now and it's on Github.
Please let me know if it works for you.
Steven
I think I have fixed that now and it's on Github.
Please let me know if it works for you.
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 49
- Joined: Thu May 03, 2018 12:08 pm
Re: Bug in Calc field
Hi Steven,
I have got the same problem with nuNumber field type. I have defined nuNumber as "€ 1.000,00" format, but when I try to enter a decimal number typing a comma it doesn't work. Just typing . as decimal point it works.
Could you help me ?
Thank you
I have got the same problem with nuNumber field type. I have defined nuNumber as "€ 1.000,00" format, but when I try to enter a decimal number typing a comma it doesn't work. Just typing . as decimal point it works.
Could you help me ?
Thank you
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Bug in Calc field
I was just wondering if that has been fixed.ahernandez wrote:Hi Steven,
I have got the same problem with nuNumber field type. I have defined nuNumber as "€ 1.000,00" format, but when I try to enter a decimal number typing a comma it doesn't work. Just typing . as decimal point it works.
Could you help me ?
Thank you