This post originated from an RSS feed registered with .NET Buzz
by Anand M.
Original Post: Numbers and Globalization
Feed Title: .NET From India
Feed URL: http://www.dotnetindia.com/index.rss
Feed Description: Your daily dose of .NET From India
Most of the work I currently do involves some form or other of Globalization. So it is quite important that all applications I design/work on have to be localizable.
With the newer .NET features it becomes easy to create localizable applications as long as you keep it in mind. Resource files and the CultureInfo class makes it childâs play.
Recently I turned my attention to numbers. The actual formatting of stuff like the decimal point and the thousands separator etc are already taken care by the framework. What really got me thinking was when the language had a different numerical script. The one that started me thinking was really the local Indic scripts, where you have different numerical symbols for 0-9. For example, in Tamil, ௧ is used to represent 1, ௨ for two etc. That led me to the new .NET 2.0 CharUnicodeInfo class.
As I experiment with this, I would be posting more on this. For now, I would advice you to take a look at this wonderful post from Michael Kaplan (To tell the truth, I was not aware of the classical number system that was used in Tamil and the post was an eye-opener).