ROUND Usage Notes - 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
ROUND functions as follows:
  • Rounds places_value places to the right of the decimal point if places_value is positive.
  • Rounds places_value places to the left of the decimal point if places_value is negative.
  • Rounds to 0 places if places_value is zero or is omitted.
  • If numeric_value or places_value is NULL, the function returns NULL.
  • ROUND rounds the value away from zero and only rounds when the next digit is a value of 5 or greater.