(n)
| 87 | } |
| 88 | |
| 89 | export function number(n) { |
| 90 | if (n === null || n === undefined || Number.isNaN(n)) return '—'; |
| 91 | return PLAIN.format(n); |
| 92 | } |
| 93 | |
| 94 | export function percent(fraction, digits = 1) { |
| 95 | if (fraction === null || fraction === undefined || Number.isNaN(fraction)) return '—'; |
no outgoing calls
no test coverage detected