Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 16 May 2002 @ 17:55:08 GMT


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


Subj:   Re: Rounding in Teradata
 
From:   Calvin W. Kline, jr.

I believe that Teradata decimal rounding and Teradata binary rounding works as designed.

www2.hursley.ibm.com...

www2.hursley.ibm.com...

The main "problem" is the exact decimal (base 10) fractions are repeating fractions when represented in the binary system (base 2). And the binary representation does not round in the same way as the decimal representation. And when the rounded binary number is converted to decimal for display, confusion results.

www.python.org...



     
  <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