Trunc

SQL

FUNCTION Trunc(IN r REAL) RETURNS INT;

Parameters

r real number from the Integer type range

Description

The Trunc function truncates the decimal part of the specified real number.

Function value

This function returns the integer value of the truncated real number value. If the real number is out of Integer type range, the function value is not defined.

See