pub(super) fn fmt_number(n: f64) -> String
Render a number the way JS String(n) would for the canonical value string (integers without a trailing .0, so 200.0 -> “200”).
String(n)
.0
200.0