fmt_number

Function fmt_number 

Source
pub(super) fn fmt_number(n: f64) -> String
Expand description

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