Don't convert from the base again for each request for a specific unit, just after the first unit request keeps the result for the next request.
For example for Angle the base unit is Degrees, so in the first request for the angle as Radians convert from the base and keep the radians value for the radians' request.
Don't convert from the base again for each request for a specific unit, just after the first unit request keeps the result for the next request.
For example for
Angle
the base unit isDegrees
, so in the first request for the angle asRadians
convert from the base and keep the radians value for the radians' request.