Re: A83: Most Wanted Question


[Prev][Next][Index][Thread]

Re: A83: Most Wanted Question




Here it is.


;---------------------------------------------------------
;   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


Follow-Ups: References: