Varkon Extended Library


dec_imp

decimal inch to feet, inches, sixteenths

syntax

part(ref, dec_imp(d_inch, feet, inches, numerator, denominator));

FLOAT d_inch - decimal inch to convert;

INT feet

INT inches

INT numerator

INT denominator



notes

It is possible to use imperial measurements in Varkon. One method is for the input use decimal inches i.e. 60.375 = 5'-0 3/8”. See the 'evaluate' function for input parsing.

1/16th precision is hard coded, the module may be edited and recompiled to alter this.