BINARY_INTEGER : BINARY_INTEGER DOUBLE FLOAT « PL SQL Data Types « Oracle PL/SQL Tutorial






The BINARY_INTEGER datatype is used for declaring signed integer variables.

BINARY_INTEGER variables are stored in binary format, which takes less space.

Calculations on binary integers can also run slightly faster because the values are already in a binary format.

The Syntax for the BINARY_INTEGER Datatype

variable_name BINARY_INTEGER;

Here is a sample declaration:

my_integer BINARY_INTEGER;

A BINARY_INTEGER variable can store any integer value in the range -2,147,483,647 through 2,147,483,647.









21.33.BINARY_INTEGER DOUBLE FLOAT
21.33.1.BINARY_INTEGER
21.33.2.BINARY_INTEGER Subtypes
21.33.3.BINARY_INTEGER in action
21.33.4.NUMBER and BINARY_INTEGER Data types
21.33.5.Using BINARY_FLOAT and BINARY_DOUBLE for complex calculations