Re: A86: >frac


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

Re: A86: >frac




again a problem, the _FRAC works just like fPart, thus returning numbers
right of the decimal and _INTGR works like iPart, returning numbers left
of the decimal.  so if i had 2.5, it would display 2 / .5.
ive been working on a routine that converts op1 to a fraction, the
numerator in op1 and denominator in op2 but it doesn't seem to be
working correctly.
later
Keith Batten

Dux Gregis wrote:
> 
> Ah.  Then copy the number to both OP1 and OP2, call _INTGR and output that
> and "/", copy OP2 to OP1, call _FRAC and output OP1 again.
> 
> Keith wrote:
> 
> > nope, that just puts the fractional part of op1 into op1, what i need is
> > something like the >frac command
> > Keith
> >
> > Dux Gregis wrote:
> > >
> > > _FRAC
> > > It's in Ti86math.inc.
> > >
> > > Keith wrote:
> > >
> > > > i heard someone a while ago said that the call for >frac was found.
> > > > could someone please tell me what the address is for that call?
> > > >
> > > > thanks,
> > > >  Keith Batten


Follow-Ups: References: