adamwdraper / Numeral-js

A javascript library for formatting and manipulating numbers.

Home Page:http://numeraljs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Signed currency is inconsistent

seansfkelley opened this issue · comments

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

numeral(-1000).format('$+0,0') === '-$1,000'
numeral(1000).format('$+0,0') === '$+1,000'

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