Formats a number into a localised string representation.
LocalisedAmountFormatter
Formats a number to a configuarble number of decimal placess
according to current locale of browser. It automatically detects the current locale of the the
browser and uses that to format numbers. For example
1234567.89 = 1,234,567.89 in english locale
1234567.89 = 1.234.567,89 in french locale
It is typically used with Presenter, but can be invoked programmatically:
br.formatting.LocalisedAmountFormatter.format(1234567890, {})
br.formatting.LocalisedAmountFormatter.format(1234567890, {dp: 4})