@sheetwrite/corefunction
Parse a currency-formatted string into a plain number, or null when the
remaining text is not numeric. Strips currency symbols ($ € £ ¥ ¤), thousands
grouping (,), and whitespace, and reads accounting-style parentheses
((1,234.50)) as a negative amount. Grouping/decimals follow the US locale the
renderer uses.
Declaration
function parseCurrencyInput(raw: string): number | null