* Format a number with fixed decimal places.
(n: number, decimals = 1)
| 100 | * Format a number with fixed decimal places. |
| 101 | */ |
| 102 | function formatNumber(n: number, decimals = 1): string { |
| 103 | return n.toFixed(decimals); |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Get color style based on FPS value. |
no outgoing calls
no test coverage detected