OK - I'll be sure to do this going forward.


________________________________
 From: Steve Comstock <[email protected]>
To: Stan Saraczewski <[email protected]> 
Sent: Thursday, July 18, 2013 3:29 PM
Subject: Re: handling a remainder from a DP
 

On 7/18/2013 4:25 PM, Stan Saraczewski wrote:
> Thank you for getting back Steve. That ought to take care of my problem.
>

You're welcome. I see my reply went to you: your
email had the Reply-to set to your email instead
of to the Assembler list!

-Steve

>
>
>
> ________________________________
>   From: Steve Comstock <[email protected]>
> To: Stan Saraczewski <[email protected]>
> Sent: Thursday, July 18, 2013 3:16 PM
> Subject: Re: handling a remainder from a DP
>
>
> On 7/18/2013 4:02 PM, Stan Saraczewski wrote:
>> 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.
>>
>
> My thought would be to carry extra precision in the numerator;
> that is, divide 13000000 by 3, keeping track of the logical
> decimal point, then do an ED with an appropriate edit pattern.
>
> --
>
> Kind regards,
>
> -Steve Comstock
> The Trainer's Friend, Inc.
>
> 303-355-2752
> http://www.trainersfriend.com
>
> * To get a good Return on your Investment, first make an investment!
>     + Training your people is an excellent investment
>
> * Try our tool for calculating your Return On Investment
>       for training dollars at
>     http://www.trainersfriend.com/ROI/roi.html
>

Reply via email to