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

Setting for default value for "unformat" when the input is invalid / none / blank? #51

Open
hllau opened this issue Oct 16, 2012 · 1 comment

Comments

@hllau
Copy link

hllau commented Oct 16, 2012

Is there any way I can set the default value, when the input is NaN? At the moment, it spit out "0" which may not be desired all the time.

@Lakshmi-Sharma
Copy link

Pull request #122 should fix this. Is takes in an 'invalid value' parameter.

accounting.unformat('what', ',' , null) = null

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