Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 17 Nov 2005 @ 18:06:16 GMT


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


Subj:   Re: Intelligent rounding off
 
From:   Joe Celko

  If the first digit to the right of the decimal is odd it rounds up, if it is even it rounds down. Is that by design?  


This is the standard way that rounding is done in commercial applications. It reduces the total rouding error in summations.



     
  <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