An integer from -2147483647 to 2147483647. A double given for an integer field converts when it is a whole number in range.
Usage
type_integer(
min = NULL,
max = NULL,
exclusive_min = NULL,
exclusive_max = NULL,
values = NULL
)Arguments
- min
Optional Integer: Smallest admitted value.
- max
Optional Integer: Largest admitted value.
- exclusive_min
Optional Integer: The value must be above it. Given with
min, it raisesr8_declaration_error.- exclusive_max
Optional Integer: The value must be below it. Given with
max, it raisesr8_declaration_error.- values
Optional Integer: The admitted values.