pub fn format_exponent(exp: Rational) -> String
Render a unit/dimension exponent suffix: ^2 for integers, ^(1/2) for rationals (the parenthesized form is re-parseable).
^2
^(1/2)