At 22:09 30/01/2001 -0500, you wrote:
>Igor Mozolevsky <[EMAIL PROTECTED]> wrote:
>
> > call me stupid but why would one want to use char then t/c it to double
> > then t/c it to uint?
>
>The original author was not wanting to typecast a char to a double then
>to a uint. He wanted to convert the *distance* between two characters
>(in an arbitrary character mapping) to a double. In the case of ASCII,
>the distance between the character '0' and any other character '0'
>through '9', cast to double, is a value of some interest.


Err.. no!
I am so impressed with people's ability to read ther people's mind. The 
author _was_ doing string to double conversion...

Igor M-)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to