[Info-vax] VMS Software Q1 '23 Update
    Scott Dorsey 
    kludge at panix.com
       
    Sun Jan 29 08:13:42 EST 2023
    
    
  
Dave Froble  <davef at tsoft-inc.com> wrote:
>On 1/28/2023 8:28 PM, Scott Dorsey wrote:
>>> On 1/28/2023 6:19 PM, Johnny Billquist wrote:
>>>> On 2023-01-28 23:35, Arne Vajhøj wrote:
>>>>> On 1/28/2023 3:01 PM, Steven Schweda wrote:
>>>>>>> Consider the case where the numbers represent money.
>>>>>>
>>>>>>     Who cares what the numbers represent?  For example, if you round to
>>
>> One of the absolute FIRST things that I was told about floating point
>> variables in my first programming class was to NEVER use them to represent
>> money.
>
>What if you didn't have a choice?
>
>RSTS/E V04b
>
>Signed word integers
>Strings
>Single and double D-float
>
>That's all there was ...
Signed integers are fine.  Read and write with a . added before the last two
digits, so the integer contains cents.  That was very common practice.
--scott
-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."
    
    
More information about the Info-vax
mailing list