Proformdigit uses min limit to input the minimum value, Max limit to input the maximum value, fieldprops limit to input the decimal places
Keep two decimal places fieldprops = {precision: 2}}
<ProFormDigit
label="InputNumber"
name="num"
min={1}
max={22}
fieldProps={{ precision: 2 }}
/>
fieldProps={{ precision: 0 }}
<ProFormDigit
label="InputNumber"
name="num"
min={1}
max={22}
fieldProps={{ precision: 0 }}
/>