[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua workshop: call for backup presentations.
- From: "D Burgess" <dburgess@...>
- Date: Fri, 25 Aug 2006 09:45:59 +1000
The decimal point is handled by implication. Consider all things
to be integer. So
1.23 + 1.23 = 2.46 --we have an implied 2 decimal places
1/2 = 1 or 1.5 --depends on the size of the result field
BCD and COBOL hence go well together with declarations
like "####.##"
From distant memory the IBM size of these declarations is
limited to about 18 digits (which covers most financial
apps).
DB
On 8/25/06, Sam Roberts <sroberts@bycast.com> wrote:
I couldn't find on wikipedia mention of how the decimal point is
handled, just the sign. Anybody know?