Function: formatUsd()
formatUsd(
usd):string
Defined in: packages/aiui-oracle/src/cost.ts:168
A running total in dollars, at a precision that stays useful across four orders of magnitude — a voice session starts in tenths of a cent and can reach dollars, and $0.00 for the first several minutes would read as "free" rather than "small".
Parameters
usd
number
Returns
string