lephyrus / ngx-translate-messageformat-compiler

Advanced pluralization (and more) for ngx-translate, using standard ICU syntax which is compiled with the help of messageformat.js.
MIT License
93 stars 30 forks source link

Number format #70

Open egalley opened 3 years ago

egalley commented 3 years ago

Hello,

Is there a way to give a number format, a kind of

... "display": "{data_value, number, {maximumFractionDigits:2}}" ...

or ... "display": "{data_value, number, ::.##}" ...