Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » Problem with Numeric Field
Re: Problem with Numeric Field [message #3006 is a reply to message #3005] Wed, 20 June 2012 04:58 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2370
Registered: April 2006
Location: Surrey, UK
Senior Member
I have tested this on my local PC and I cannot duplicate the problem. Input of '175000' or '175,000' is reformatted to '175000.00' for internal use, and changed to '175,000.00' when displayed on the screen.

The only way that this would be displayed as '175.000,00' is if you locale setting says that:
- decimal point is ',' (comma)
- thousands separator is '.' (period)

The formatNumber() and number_unformat() functions use the same locale settings, so I cannot see how they can get out of step.

Can you step through with your debugger and see what happens inside both of these functions?


[Updated on: Thu, 31 July 2014 03:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: post insert function
Next Topic: Accessing to Radicore from mobile phones
Goto Forum:
  


Current Time: Tue Nov 26 06:29:39 EST 2024

Total time taken to generate the page: 0.00933 seconds