pub fn short(value: f64) -> StringExpand description
A number at a readable length, whatever its size: four digits and at most three decimals, so 12.5 reads as 12.50 and 1912.141 as 1912, and 0.0000312 as 3.12e-5; at least three digits, as the exponent has, so 0.0146 reads as 0.0146 and not 0.015. Narrow, so that the tables fit the panel.