lib/format-money
Functions
Section titled “Functions”formatMoney()
Section titled “formatMoney()”formatMoney(
amount):string
Format a USD amount with cents, preserving up to five places only below one cent.
Parameters
Section titled “Parameters”amount
Section titled “amount”number
Returns
Section titled “Returns”string