Find settings from regional settings

  • Thread starter Thread starter Jan Eliasen
  • Start date Start date
J

Jan Eliasen

Hi

I need to build a string, that contains a number, and I need write a
decimal to the string. How do I find out if I should use . (dot) or ,
(comma) as decimal separator? Is it in the registry, or where can I
find it? I mean.. it is in "Regional Settings", but how do I get to
that setting?

Thanks!

--
Eliasen Jr. representing himself and not the company he works for.

Private email: (e-mail address removed)

"Ford," he said, "you're turning into a penguin. Stop it."
 
Use CultureInfo.NumberFormatInfo.NumberDecimalSeparator property.

G Himangi, Sky Software
http://www.ssware.com
*Shell MegaPack for ActiveX & .Net : Advanced Controls for Drop-In Windows
Explorer GUI for your App.
*EZNamespaceExtensions.Net : Rapid Development of Shell Namespace Extensions
in .Net
*EZShellExtensions.Net : Rapid Development of IE Toolbars, IE Explorer Bars
& Windows Shell Extensions in .Net
 
Use CultureInfo.NumberFormatInfo.NumberDecimalSeparator property.
Thanks

--
Eliasen Jr. representing himself and not the company he works for.

Private email: (e-mail address removed)

"Ford," he said, "you're turning into a penguin. Stop it."
 
Back
Top