Localizer can now return the correct decimal separator and localize numbers based on user preferences.

Localizing numbers is done by changing the decimal separator.