[Info-vax] New VSI Roadmap (yipee!)
David Froble
davef at tsoft-inc.com
Mon Mar 2 19:03:47 EST 2015
Scott Dorsey wrote:
> David Froble <davef at tsoft-inc.com> wrote:
>> Richard Maher wrote:
>>> On 3/2/2015 11:09 AM, David Froble wrote:
>>>> Regardless, what's a language doing, not having a rounding function?
>>> Why is any serious commercial programmer implementing money as a
>>> floating-point datatype?
>> In 1973 the only data types supported by RSTS/E were word integers,
>> single and double FP, and strings. At that time we used what was available.
>
> When that is the case, you use integers for cents, then you use input and
> output routines that deal with the decimal point.
>
> Lots of folks did it and still do, when they don't have pic types or bcd
> types available.
> --scott
>
Oh, yeah, let me see. $ -327.68 to $ 327.67 would be quite useful.
I'm beginning to feel that I'm surrounded by young know-it-alls.
Perhaps a few sessions with TKB and other relics from the past might
open some eyes.
More information about the Info-vax
mailing list