pub fn fmt_ratio(num: usize, den: usize) -> String
Format a ratio as N.NNx using integer arithmetic. Returns an em-dash when den is zero.
N.NNx
den