Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 13 Sep 2002 @ 19:49:18 GMT


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


Subj:   Re: Decimal or time in PI
 
From:   Dieter N�th

Kumaran Anantaraman wrote:

  Is it 'bad' to have a decimal in PI? Why? Should we make it integer instead?  


No, because a decimal is stored as an integer (1,2,4 or 8 bytes). I.e. dec(15,4) is stored as 8 byte INTEGER: value * 10000


  Also, there was a discussion on 'time is bad for PI'? True? What was the reason?  


Because you need the exact value to be able to use the PI and you probably don't know the exact time up to the second/millisecond.


Dieter



     
  <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