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

Signed currency is inconsistent #89

Closed
seansfkelley opened this issue Sep 12, 2013 · 1 comment
Closed

Signed currency is inconsistent #89

seansfkelley opened this issue Sep 12, 2013 · 1 comment
Labels
Milestone

Comments

@seansfkelley
Copy link

Using a format specifier with '$' and '+' produces inconsistent behavior:

numeral(-1000).format('$+0,0') === '-$1,000'
numeral(1000).format('$+0,0') === '$+1,000'
@adamwdraper adamwdraper added the bug label Dec 7, 2016
@adamwdraper adamwdraper added this to the 2.1.0 milestone Dec 7, 2016
@adamwdraper
Copy link
Owner

Another instance to solve numeral("-102300.00").format("$0,00.00+")

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

No branches or pull requests

2 participants