[Info-vax] VMS Software Q1 '23 Update

Scott Dorsey kludge at panix.com
Sun Jan 29 08:16:51 EST 2023


Scott Dorsey <kludge at panix.com> wrote:
>
>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.

Other workarounds people have used over the years include keeping dollars and
cents as two diferent integers, and strings or integer arrays used to store
BCD or ascii numbers.  That latter is very handy when you're asked to deal
with trillions of dollars and don't have BCD types available.
--scott
-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."



More information about the Info-vax mailing list