Returns the given currency amount value (in cents) as a formatted currency string in USD, optionally including cents when zero or abbreviated (e.g. 100 → $1.00, 100000 → $1K).
100
$1.00
100000
$1K
null if invalid currency value.
null
Returns the given currency amount value (in cents) as a formatted currency string in USD, optionally including cents when zero or abbreviated (e.g.
100→$1.00,100000→$1K).