Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 18 May 2004 @ 13:14:50 GMT


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


Subj:   Rounding vs truncation
 
From:   rablum

Seems simple enough:

How do I get an integer result from the division of two integers or currency/decimal divided by an integer that is ROUNDED vs. truncated?

i.e., select 10/4 results in 2 - I want the 2.5 to round to 3.


Rachel



     
  <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