Cash
cash(number, opts)​
Added in 1.3.0Mark input number with cash
number
- <number> Cash price.opts
- <Object> format options.locale
- <string> format locale. Defaulten-US
.currency
- <string> Currency code, e.g.JPY
,USD
,EUR
. DefaultUSD
.currencyDisplay
- <string>. Currency display.maximumSignificantDigits
- <number> maximum digits for not floating part.minimumSignificantDigits
- <number> minimum digits for not floating part.maximumFractionDigits
- <number> maximum digits for floating part.minimumFractionDigits
- <number> maximum digits for floating part.minimumIntegerDigits
- <number> minimum integer digits.signDisplay
- <string> sign display. Possible values:auto
|never
|always
|exceptZero
.