Re: A83: Most Wanted Question
[Prev][Next][Index][Thread]
Re: A83: Most Wanted Question
> Here it is.
Excellent! Thanks Pat. Hmm, so ALL the OPs are trashed, man that's pretty
intensive calculations it must do...
James.
> ;---------------------------------------------------------
> ; TOFRAC : CONVERT DECIMAL NUMBER TO FRACTION. |
> ; NUMERATOR / DENOMINATOR. |
> ; |
> ; INPUT : OP1 = DECIMAL NUMBER |
> ; |
> ; OUTPUT : IF SUCCESSFULL : |
> ; |
> ; OP1 = NUMERATOR |
> ; OP2 = DENOMINATOR |
> ; CA = 0 |
> ; |
> ; IF NOT SUCCESSFULL : |
> ; |
> ; OP1 = ORIGINAL INPUT |
> ; CA = 1 |
> ; |
> ; USES : OP1 TO OP6 |
>
>
> _TOFRAC equ 48D5h
>
>
> Later,
> Pat
>
> ------------------
> Original text
>
> From: "Anders Jensen" <a_h_jensen@hotmail.com>, on 8/11/98 11:25 PM:
>
> How do you convert fp numbers to fractions?
>
> Anders
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>