I infow Member Licensed User Longtime User Jan 10, 2018 #1 Hi, I started to have a error today after upgrade from 6.5 to 7.8 Version of B4A. java.lang.NumberFormatException: For input string: "1,651.4" B4X: Dim x As Double x = Total + Cursor1.GetDouble("ACERTO") Total = NumberFormat(x,1,2) All doing fine til today. There is any config somewhere that I mess up? Thank you
Hi, I started to have a error today after upgrade from 6.5 to 7.8 Version of B4A. java.lang.NumberFormatException: For input string: "1,651.4" B4X: Dim x As Double x = Total + Cursor1.GetDouble("ACERTO") Total = NumberFormat(x,1,2) All doing fine til today. There is any config somewhere that I mess up? Thank you
I infow Member Licensed User Longtime User Jan 10, 2018 #2 Solved changing to Numberformat2. It´s strange that worked till, now... Only today, seems the conversion of String to Double becomes sensible with the thousand separator... Upvote 0
Solved changing to Numberformat2. It´s strange that worked till, now... Only today, seems the conversion of String to Double becomes sensible with the thousand separator...
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2018 #3 There was a bug in previous versions where the format set in NumberFormat2 affected the format expected by NumberFormat. I guess that it is related to the issue that you encountered. Upvote 0
There was a bug in previous versions where the format set in NumberFormat2 affected the format expected by NumberFormat. I guess that it is related to the issue that you encountered.