Thank you Michael.
________________________________ From: Michael Harding <[email protected]> To: Stan Saraczewski <[email protected]> Sent: Thursday, July 18, 2013 3:39 PM Subject: Re: handling a remainder from a DP Multiply the remainder by 10**n and divide result by original divisor. n=number of decimal places desired. -- Mike Harding z/VM System Support [email protected] [email protected] (925) 926-3179 (w) (925) 323-2070 (c) /sp IBM Mainframe Assembler List <[email protected]> wrote on 07/18/2013 03:02:31 PM: > From: Stan Saraczewski <[email protected]> > To: [email protected], > Date: 07/18/2013 03:08 PM > Subject: handling a remainder from a DP > Sent by: IBM Mainframe Assembler List <[email protected]> > > How does one convert a remainder from a DP into a decimal value ? > > My result from a DP in dividing 1300 by 3 is 00 00 00 43 3C 00 1C > but on a calculator it is displayed as 433.33333 - which is what I > want to display in a field on a screen. How do I turn that remainder > of 1C into the decimal value ? > > Suggestions ? > > Thank you. >
