calc `(n*1000 + 0.5) as u32`, if that's less than `1000` then do the `.xyz` syntax calc `(n*100 + 0.5) as u32`, if that's less than `1000` then do the `x.yz` syntax calc `(n*10 + 0.5) as u32`, if that's less than `1000` then do the `xy.z` syntax calc `(n*1 + 0.5) as u32`, if that's less than `1000` then do the `xyz.` syntax else ">max"