ashimprodhan
New User
Joined: 08 Dec 2006 Posts: 12 Location: Kolkata
|
|
|
|
In COBOL-74 there is two Usage clause namely USAGE IS REAL and USAGE IS DOUBLE.
The USAGE IS REAL and USAGE IS DOUBLE clauses indicate that data is in an internal floating-point format. A REAL or DOUBLE item is capable of representing a value to be used in computations and is always numeric. Neither the PICTURE clause nor the SIGN clause are permitted for REAL or DOUBLE items.
REAL and DOUBLE items occupy memory:
• A REAL item is single precision; the actual size is equal to six bytes.
• A DOUBLE item is double precision; the actual size is equal to twelve bytes.
• Both REAL and DOUBLE items are not necessarily word-aligned.
In Enterprise COBOL what datatype equivalent to this can fit best?
If any more input is reuired please let me know...
Best Regards, |
|