Link to home
Start Free TrialLog in
Avatar of JMandler
JMandler

asked on

How to parse locale specific number strings

I have an application that needs to run in 20 different locales. One part of the app contains a dialog with a control where a number is entered. The number format can be n.n or n,n dependding on the locale.

How do I check the number string to insure it conforms to the locale, and how do I then convert it to a number?
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial