The value of gravitational constant $g$ is 9.8 ms2. Force is measured in kg ms2, also known as one N. A quantity with rather ridiculous units is 23 µha23°C s2. One Hz is the same as 1s. You can have a unitless quantity, like 42, which may help with consistency between such numbers and units in the output. Some non-SI units are available, such as the absurd °F ft lbgal. The command \pi is recognized within mag in conversions to HTML, which is consistent with the behavior with a conversion to , for example there are 2$\pi$ rad in a full circle.