you supposed wrong. Both float and double are natively supported.
The only thing not supported as far as floating point... there is no native
float to string formatting support (other than scientific notation).  You
will have to code float to string conversions yourself.  There are plenty of
examples already posted to the group.

----- Original Message -----
From: "Mahesh Salian" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 10:00 AM
Subject: Re: How to use Floating point numbers ?


> Yeah i'm working with C/C++ compiler.
> But I suppose float data type is not supported by the palm OS.
>
> > Assuming your working with C/C++ (since you didn't mention the language
or
> > compiler)...
> >
> > float a,b,c;
> >
> > a = 1.1;
> > b= 2.2;
> > c = a * b;
> >
> > works with double also.
> >
> > ----- Original Message -----
> > From: "Mahesh Salian" <[EMAIL PROTECTED]>
> > To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> > Sent: Monday, April 22, 2002 6:41 AM
> > Subject: How to use Floating point numbers ?
> >
> >
> > > Hi ,
> > >
> > > How do i use floating point numbers in arithmetic operations  ?
> > > Is the  float data type  supported by palm OS ?
> > >
> > > TIA,
> > > -Mahesh
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > --
> > > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/support/forums/
> > >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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

Reply via email to