Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 08 Oct 2002 @ 15:54:51 GMT


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


Subj:   Why isn't rounding working?
 
From:   Hassinger, Bill

Can anyone explain why the first division is not rounded up, and all the others are?

select 200/3 , 200.0/3, 200.00/3, 200.0/3.0 , 200/3.0

result:
(200/3)    (200.0/3)    (200.00/3)      (200.0/3.0)     (200/3.0)
66         66.7         66.67           66.7            66.7


     
  <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: 15 Jun 2023