Re: How do I ...
[Prev][Next][Index][Thread]
Re: How do I ...
On Fri, 22 Nov 1996, Thad wrote:
> where an index is as follows
> 1 0 5 0 0
> 5 4 3 2 1
> Prgm:INDEXA
> :Input "INDEX", B
> :(iPart (A/(10^B))) - ((iPart (A/(10^(B+1)))) * 10) -> C
> {we move the index we want to find to the ones position,
> then we subtract the that from the same number with a zero in the ones.}
> :Disp C
How about
ipart(10*fpart(a/(10^B))
I don't have my calculator to test it, but it should work.
Tony Lieuallen = lieuallen@iop.com Oxymoron: Power Macintosh
Welcome to the ever changing sig! It changes every time I log in, so
don't flame me if it's a little long. Enjoy!
"If we were meant to fly, we wouldn't keep losing our luggage."
References: