int (primitive)
Package: CURL.LANGUAGE.CORE-TYPES

Primitive data type for signed integers.

Description

You can use this data type to store signed integers. Most people will use the int data type when declaring integer variables. This data type should adequately serve most purposes. However, if you know the range within which an integer will lie, you can use int8, int16, int32, or int64 to optimize the use of memory by the Curl program.

Because Curl uses 32 bits to represent an int, the possible range of values is between -2,147,483,648 and 2,147,483,647.

The default value for an int is 0 (zero).

See also: int8, int16, int32, int64, uint8, uint16, uint, uint64.