Variable: formatNumberTool
ts
const formatNumberTool: Tool<SpooledArtifact>;Format a number using locale-aware styles.
Remarks
Supported styles: decimal, currency, percent, compact (e.g. 1.2K), scientific (e.g. 1.2e+3), and ordinal (1st, 2nd, 3rd). Uses Intl.NumberFormat and Intl.PluralRules from the JS standard library. Returns an error string for non-finite values or invalid currency-without-currency-code.