Use #defined constants for converting between different units.