Culture-Sensitive C# Property
using System.Globalization
NumberFormatInfo.CurrentInfo;
Internationalization (I18n) Property Overview
Returns the current NumberFormatInfo instance that formats values
based on the CultureInfo of the current thread.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
As long as the current thread's culture is properly set, this usage will work properly.
Recommended Replacement
Use CultureInfo.NumberFormat if the desired culture is different from that of
the current thread.
Culture and Number Format Information
|