Re: Number of digits in a number [82]
[Prev][Next][Index][Thread]
On 19 Sep 96 at 23:20, DamienDen wrote:
> In article <3241a6a8.618136@news2.pcpros.net>, prince@pcpros.net (Mike
> Harder) writes:
>
> >I'm not sure about the TI-82 programming language, but in Basic you
> >could change the number to a string, then use the LEN command to find
> >the number of characters in the string. Subtract 1 if the number has
> >a decimal point.
>
> Great idea! Except the 82 doesn't have useable strings (other than the
> functions, and they don't count in this case), so we have to find another
> way.
> BTW, I know how to get the number of whole numbers, using logs, but how
> would you guys pull off the decimals, using a formula?
It's all in the FAQ. Get it from www.efd.lth.se/~d96mli/tifaq.txt.
<pre>
--
Mattias Lindqvist
d96mli@efd.lth.se
www.efd.lth.se/~d96mli
</pre>
References: