(value?: number)
| 212 | } |
| 213 | |
| 214 | function formatCompactNumber(value?: number) { |
| 215 | if (value === undefined) return undefined; |
| 216 | return compactNumberFormatter.format(value); |
| 217 | } |
| 218 | |
| 219 | function formatCost(input?: number, output?: number) { |
| 220 | if (input === undefined && output === undefined) return undefined; |