(num: number)
| 18 | * @returns The input number rounded to two decimal places. |
| 19 | */ |
| 20 | export function roundTo2(num: number): number { |
| 21 | return Math.round((num + Number.EPSILON) * 100) / 100; |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Calculates the mean (average) of an array of numbers. |
no outgoing calls
no test coverage detected