int
When a variable is classified as an int
then it will accept all the integers including signed and unsigned integers. It will not accept float values.
The Integer must be represented using one or more ASCII digits (0 U+0030
to 9 U+0039
), prefixed with or without the minus sign (- U+002D)
. The integer must not contain a decimal point as some language validators will accept it and some will not.
MemberDef
The int
is derived from the number type that shares the same MemberDef as the Number i.e type
, default
, choices
, max
, min
, multipleOf
, divisibleBy
, optional
and null
while enforcing the additional constraint that the number must be of integer type.
Last updated