FLOOR Result Type and Attributes - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

The result type is the same data type as that of the numeric input argument.

If the input argument is defined as a DECIMAL/NUMERIC with a precision less than 38, the precision of the returned DECIMAL/NUMERIC value increases by 1. For example, DECIMAL(6,4) returns as a DECIMAL(7,4). If the precision is 38, the scale is reduced by 1 unless the scale is 0. For example, the return data type for DECIMAL(38,38) is DECIMAL(38,37).

The default title for FLOOR is FLOOR(arg).

For information on default data type formats, see Data Type Formats and Format Phrases.