Small postive/negative numbers are displayed as NaN

Forum to discuss the new web client version of Servoy.

Small postive/negative numbers are displayed as NaN

Postby dev-ws-011 » Thu Sep 17, 2020 7:37 am

Hi All,

I am working with NG Desktop client application. I observed a problem with displaying of small positive or negative numbers such as 0.000000029802322 or-0.000000029802322, it should be displayed as 0.00 or -0.00 (format is set as #,###.00) but it is displayed as NaN.

Any help is highly appreciated.

Regards
Servoy Developer
dev-ws-011
 
Posts: 73
Joined: Fri Oct 21, 2016 8:23 am

Re: Small postive/negative numbers are displayed as NaN

Postby Andrei Costescu » Mon Sep 21, 2020 9:12 am

Please create a case for this problem.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Small postive/negative numbers are displayed as NaN

Postby dev-ws-011 » Tue Sep 22, 2020 11:17 am

Case created.

Here is theurl:
https://support.servoy.com/browse/SVY-15460

Regards
Servoy Developer
dev-ws-011
 
Posts: 73
Joined: Fri Oct 21, 2016 8:23 am

Re: Small postive/negative numbers are displayed as NaN

Postby lvostinar » Wed Sep 30, 2020 11:56 am

dev-ws-011 wrote:Case created.

Here is theurl:
https://support.servoy.com/browse/SVY-15460

Regards


This will be fixed in the 2020.12 release. It was caused by a bug in numeral.js library we use for format:
https://github.com/adamwdraper/Numeral-js/issues/563
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Small postive/negative numbers are displayed as NaN

Postby dev-ws-011 » Wed Sep 30, 2020 3:59 pm

lvostinar wrote:
dev-ws-011 wrote:Case created.

Here is theurl:
https://support.servoy.com/browse/SVY-15460

Regards


This will be fixed in the 2020.12 release. It was caused by a bug in numeral.js library we use for format:
https://github.com/adamwdraper/Numeral-js/issues/563


Thanks Vostinar for the update.

Regards
Servoy Developer
dev-ws-011
 
Posts: 73
Joined: Fri Oct 21, 2016 8:23 am


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 3 guests