pub fn format_number(n: f64) -> StringExpand description
Formats a number for display: integers without decimal point, floats with up to 10 significant fractional digits, trailing zeros trimmed. Always decimal — used for expression re-display, not user-facing output.