| 1 | initial version |
It is better to write the units to convert in decimal form
#define units
ft = units.length.foot
m = units.length.meter
#add some lengths and output in ft
(3.0*ft+4.0*m).convert(units.length.foot)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.