(units: number)
| 3 | * integers without a trailing `.0`, fractionals at one decimal — matches the |
| 4 | * `limit` field which is always integer. */ |
| 5 | export const formatSessionUnits = (units: number): string => |
| 6 | Number.isInteger(units) ? String(units) : units.toFixed(1) |
no outgoing calls
no test coverage detected