js-big-decimal icon indicating copy to clipboard operation
js-big-decimal copied to clipboard

Support for locale-aware prettyValue()

Open kgusarov opened this issue 5 years ago • 1 comments

It should be possible to get prettyValue() based on current user locale. For example, in different countries value 4,294,967,295.00 might be presented as:

  • 4 294 967 295,000
  • 4,294,967,295.00
  • 4.294.967.295,000
  • etc (for example, https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html).

kgusarov avatar Nov 04 '19 10:11 kgusarov

Popular UI frameworks already have the capability to format numbers and currencies based on locale. Locale will be taken up at some leter point for this library.

royNiladri avatar Jul 17 '20 11:07 royNiladri