Store dimensions as double or decimal in what ever unit you want, Millimeter, Centimeter, Inch, Foot, Foot-Inch-Fractions etc. Convert user input to that unit before storing. Do normal arithmetic, accounting for loss of precision. Present it to the user in your stored units or convert to the...