Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Bug in Calc field

Questions related to using nuBuilder Forte.
Post Reply
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Bug in Calc field

Unread post by agnar »

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.
calc_error.png
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Bug in Calc field

Unread post by admin »

Agnar,

I think I have fixed that now and it's on Github.
format_2.PNG
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.
ahernandez
Posts: 49
Joined: Thu May 03, 2018 12:08 pm

Re: Bug in Calc field

Unread post by ahernandez »

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
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Bug in Calc field

Unread post by toms »

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
I was just wondering if that has been fixed.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Bug in Calc field

Unread post by admin »

ahernandez,

It should be fixed now.

Steven
Post Reply