pub fn kg_to_g(kg: f64) -> f64
Kilograms to grams, by moving the decimal point in the mass’s shortest digits rather than multiplying: 0.0041 kg is 4.1 g, where 0.0041 × 1000 is 4.1000000000000005.
0.0041
4.1
0.0041 × 1000
4.1000000000000005