Unit conversion.
Converts value from millimeter units to g-code units (G20, G21).
mmtounit[x]
G20 #<result> = mmtounit[25.4]
result: 1
G21 #<result> = mmtounit[25.4]
result: 25.4
unittomm