Quasar: Make numeric localizable

Created on 10 Apr 2017  路  2Comments  路  Source: quasarframework/quasar

Hi,

it will be cool if you could make q-numeric formatable and localisable.
Maybe based on Numeral.js (http://numeraljs.com).

Greets
Petr

Software version

Quasar:
OS:
Node:
NPM:
Browsers:
iOS:
Android:
Any other software related to your bug:

What did you get as the error?

What were you expecting?

What steps did you take, to get the error?

Most helpful comment

I think the good way to go is for the developer to be able to specify the formatting in his/her app through whatever package he/she wants to use. I generally want to avoid relying on third party packages to add additional dependencies for Quasar core. Quasar footprint should be as low as possible. So will add this formatting option and devs can choose however they want to format their numeric values. Thanks for opening this!

All 2 comments

I think the good way to go is for the developer to be able to specify the formatting in his/her app through whatever package he/she wants to use. I generally want to avoid relying on third party packages to add additional dependencies for Quasar core. Quasar footprint should be as low as possible. So will add this formatting option and devs can choose however they want to format their numeric values. Thanks for opening this!

+1
in my country, we usually use number like this: 1,000,000 and higher.... so this option is important.
Currently i use numeraljs to format number in datatable, but will be better if can format in numeric control 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adwidianjaya picture adwidianjaya  路  3Comments

alexeigs picture alexeigs  路  3Comments

lukadriel7 picture lukadriel7  路  3Comments

fnicollier picture fnicollier  路  3Comments

danikane picture danikane  路  3Comments