Limits of Integer number form field

Facebooktwittergoogle_pluspinterestlinkedinmail

Author: Tomasz Mierzwa

It is going to be short, but important article

“Integer number” field value is stored in Integer type field. Value of such field has to lie within a closed interval from -2,147,483,648 to 2,147,483,647.

It is impossible to save value outside of interval, which has to be remembered. Example of erroneous application is saving tax identification number to such field (without “-“ signs).

Example:

Tax identification number field is set automatically according to chosen vendor. If such number is smaller than 2147483647, everything will work properly. But it is easy to imagine that if tax ID will be higher than number mentioned above an error will appear caused by wrong conversion. In such case it is better to store such information in “single line of text” form field.

It is worth to remember about such restriction while developing new workflows.

Leave a Reply

Your email address will not be published. Required fields are marked *