fn r_number(n: f64) -> String
A finite number as R source: a whole number without a fraction (0, 2), any other in Rust’s shortest form (1e-6, 0.5).
0
2
1e-6
0.5