Formats the given number as money. Wraps Intl.NumberFormat but adds support for null and undefined and automatic conversion from the minor unit of the currency (e.g. cents).
Intl.NumberFormat
null
undefined
The number to format.
The options for formatting the number.
Formats the given number as money. Wraps
Intl.NumberFormatbut adds support fornullandundefinedand automatic conversion from the minor unit of the currency (e.g. cents).