How To Restrict To Whole Numbers Only? (Decimal)

How can one restrict content format Decimal to whole numbers only?

Use Integer ?

Or if you then need it in Decimal, have a hidden field that is Decimal that is set to value of the Interger field.

1 Like