View previous topic :: View next topic |
Author |
Message |
cappertan Beginner
Joined: 20 May 2003 Posts: 15 Topics: 10
|
Posted: Fri Jul 09, 2004 9:56 am Post subject: Easytrive Field Def for A Float |
|
|
Hi:
I checked the Ezt manual but I did not see how to hand a number defined on the database as a Float. In SPUFI, I can use the expression
DECIMAL(AGE,3,0) AS AGE. I will want to specify numbers with or without decimals. Thanks _________________ Capp |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Fri Jul 09, 2004 10:11 am Post subject: |
|
|
Cappertan,
Float in DB2 is equivalent to COMP-2 in cobol. Unforunately Easytrieve does not have data-item which is equivalent to comp-2 in cobol. So if care about the whole number without any decimal portion , define it as numeric without any decimal postions
ie.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|