(value: float)
| 135 | |
| 136 | |
| 137 | def _format_value(value: float) -> str: |
| 138 | if abs(value - round(value)) < 1e-9: |
| 139 | return f"{int(round(value)):,}" |
| 140 | return f"{value:,.2f}" |
| 141 | |
| 142 | |
| 143 | def _format_percent(value: float) -> str: |
no outgoing calls
no test coverage detected