[Info-vax] New VSI Roadmap (yipee!)
Scott Dorsey
kludge at panix.com
Mon Mar 2 17:44:50 EST 2015
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
--
"C'est un Nagra. C'est suisse, et tres, tres precis."
More information about the Info-vax
mailing list