mx
mx copied to clipboard
Use the typesystem to help with Tenths
Create a Tenths object, an Inches object and a Millimeters object. Create the necessary casting functions so that they can easily be changed from one type to another. Also allow Tenths to cast into and out of long double, but Inches and Millimeters probably should not cast into and out of long double.