Ask Your Question

Revision history [back]

click to hide/show revision 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)