Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 16 May 2014 @ 10:55:30 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Rounding off decimals to nearest integer
 
From:   DEBOJIT.PAL

Hi Gurus,

I want to know is there is any default function in Teradata 13 for rounding off decimal numbers to integers.

Like 10.4 should be 10 but 10.7 should be 11.?

So, anything lesser than X.5 should be X while anything equal to or greater than X.5 should be X+1.

If there is no default function, then how to handle it?


Thanks

Debojit



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016