answered 12 years ago
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)