G20 on the top line of code makes it cut in inches and G21 makes it cut in mm.

.