Signed currency is inconsistent #89

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

Projects

None yet

2 participants

@seansfkelley

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
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