how to obtain regional settings

  • Thread starter Thread starter Emby
  • Start date Start date
E

Emby

Is there a way in the .NET framework to determine Windows Regional Settings?
Items like Dimensions (CM or Inches), decimal symbol, digit grouping symbol,
time formats, date formats, etc.

I've done some digging, but come up empty.

Thanks
 
OK, I found it in System.Globalizaion (duh!):
NumberFormatInfo.NumberDecimalSeparator, for the decimal symbol
NumberFormatInfo.NumberGroupSeparator, for the digit grouping symbol
RegionInfo.IsMetric, for CM (metric) versus Inches

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top