Tons of code examples already posted to the forum on this topic, search the
archives.

----- Original Message -----
From: "Beata Bar" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 9:33 PM
Subject: scientific notation to decimal conversion


> How can I convert a double in scientific notation
> where the exponent can vary from e^15 to e^-15 to a
> decimal number.  Then I need to round it off to two
> decimal places and convert it to a CharPtr.
>
> At the moment I'm writing my own function to do that
> but it's taking a long time.
>
> Example:
> Input: 1.2345678e04
> Output: 12345.68
>
> Thanks,
> Beata
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


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