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/

Reply via email to