(rem: number)
| 7 | * @returns The equivalent value in pixels. |
| 8 | */ |
| 9 | export function convertRemToPixels(rem: number): number { |
| 10 | return rem * parseFloat(getComputedStyle(document.documentElement).fontSize); |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * Formats a number with spaces for thousands separator. |
no outgoing calls
no test coverage detected