# maxpt

> [HTML Version](maxpt.htm)

_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