|
|
Archives of the TeradataForum
Message Posted: Fri, 13 Sep 2002 @ 19:49:18 GMT
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
| |