maxpt may be used to specify the number of digits after a decimal point If the . code is used, then INFLD will prohibit the operator from entering any more than <maxpt> digits past a hard decimal point. In any case, the display will be padded with enough zeroes or blanks (depending on the G code) to have <maxpt> digits after the decimal point.
If the parameter is omitted, no such checking will take place. However, if you specify the parameter and the value is zero, it will not allow any digits past the decimal point. If you need to specify the parameter but do not want any such checking, set it to -1.
Note that the $ and H codes automatically set maxpt to 2 (unless you set it otherwise), and it will always be set to the same as defpt, if defpt is specified and maxpt is not specified