Fixed Formatter doc.
Added support for locale-dependent decimal and grouping separators.