I don't recall seeing a code example in this forum recently, but regardless,
this is a very easy one to implement... Surely you can do it Beata??
C'mon.. I have faith in you!!

BTW: What's the *real* reason you need to do this conversion anyway?.. Is it
just because the standard Palm FlpFToA spits out scientific notation??

Regards,

Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia
"Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
news:55923@palm-dev-forum...
>
> 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