to get the number part, use the val function
val(myField) will return '.86 in' as 0.86
then use the switch function to do the conversion - so something along the following lines to convert to inches
Code:
numfield: val(myfield)/switch(right(myfield,2)="in",1,right(myfield,2)="mm",25.4,right(myfield,2)="ft",1/12)
extend the switch function for other units.
personally I would use mm - you have a value which is .7mm which would convert to 0.027559 inches ...
or alternative keep your mixture of units, but in two fields and use a modified version of the above calculation to convert to a default/standard unit when required