Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on defaultFormat #61

Open
redmagi opened this issue Jun 11, 2019 · 1 comment
Open

error on defaultFormat #61

redmagi opened this issue Jun 11, 2019 · 1 comment

Comments

@redmagi
Copy link

redmagi commented Jun 11, 2019

i used defaultFormat option with Numeral-js lastest version.
you can found error "unformat" beacuse Numeral-js remove it in version 2
2.0.0

@vipinmangalkar
Copy link

Change Line no. 5938
from numeral().unformat(text); to return numeral(text).value();

Change Line no. 8422
from numeral().unformat($value); to numeral($value).value();

Change Line no. 8843
from var rawValue = numeral().unformat(elValue); to var rawValue = numeral(elValue).value();

Change Line no. 9813
from rawValue = numeral().unformat(newVal); to rawValue = numeral(newVal).value();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants