SMALLINT: Converting to a Small Integer

How to:

The SMALLINT function converts a number to a small integer. Generally, a small integer occupies only two bytes in memory.

Syntax: How to Convert to a Small Integer

SMALLINT(arg)

where:

arg

Numeric

Is the input value.

This function returns the number in small integer format.

Example: Converting to a Small Integer

SMALLINT converts a number to a small integer. This example,

SMALLINT(3.5)

returns 3.

WebFOCUS

Feedback