(value: object, precision: int = 0)
| 25 | |
| 26 | |
| 27 | def number(value: object, precision: int = 0) -> str: |
| 28 | if not isinstance(value, (int, float)): |
| 29 | return "—" |
| 30 | return f"{value:,.{precision}f}" |
| 31 | |
| 32 | |
| 33 | def duration(value: object) -> str: |
no outgoing calls
no test coverage detected