(value: f32)
| 760 | if value.starts_with('@') { |
| 761 | out.push('@'); |
| 762 | } |
| 763 | out.push_str(value); |
| 764 | } |
| 765 | |
| 766 | fn fmt_f32(value: f32) -> String { |
| 767 | if value.fract() == 0.0 { |
| 768 | format!("{value:.1}") |
| 769 | } else { |
| 770 | value.to_string() |
| 771 | } |
no outgoing calls
no test coverage detected