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

formatToNumber when number is negative #256

Open
lsouzaoliveira opened this issue Sep 5, 2018 · 0 comments
Open

formatToNumber when number is negative #256

lsouzaoliveira opened this issue Sep 5, 2018 · 0 comments

Comments

@lsouzaoliveira
Copy link

SimpleMaskMoney.args = {
prefix: "",
suffix: "",
fixed: true,
fractionDigits: 2,
decimalSeparator: ",",
thousandsSeparator: "."
};
SimpleMaskMoney.formatToNumber(-151.00) returns 1.51
SimpleMaskMoney.formatToNumber('-151.00') returns 151

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

1 participant