Tim Ganz
Member
Anyone have a good way to convert a decimal number to fractions. Need to convert decimal inches to fractions before sending to HMI
Div by 12 for inches
Mod by 12 then div remainder by desired denominator ?
Times by 25.4 and put mm on the end.
Yes, but what do you want for the denominator?Anyone have a good way to convert a decimal number to fractions. Need to convert decimal inches to fractions before sending to HMI