Yeah, I hear that. It seems as though they assumed everything would be
either int, long, or str. Does WinCE support it natively?? :)

Keith

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steve
Sabram
Sent: Tuesday, March 28, 2000 2:45 PM
To: Palm Developer Forum
Subject: Re: Floating points, doubles, etc..


This has horse has been beat many times in the past few months.  This is
what I have concluded form the threads.

* The only float to text conversion process available in the OS converts it
into Scientific format.
* The printf() style, %f or %g format fields are not supported by the OS due
to ROM image size budgeting.
* If you are looking for this for your work, the only current solution is to
implement it in your own app or find a third party
piece of code.
* Whether or not if it should be implemented in the OS has become a heated
thread driven by familiarity, simplicity, conveyance
and, at time, aesthetics.

Personally, I think an ANSI compliant printf() / scanf() shared library
should be created and have it distributed in the same
fashion as MathLib.  The source is out there in the public domain so it is
just a porting issue.

Steve


Keith Thome wrote:

> I know this has been asked a bazillion times, how does one turn a double
or
> a float into a string for field output??? I cannot believe this wasn't
> thought about when doing the ground breaking for palmOS.
>
> Thanks peoples...
>
> Keith
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to