Let me simplify it for you:
int A;
double B;
B = A;
or if you prefer a function...
double MyIToDouble(int i)
{
return ((double)i);
}
or a macro
#define MyIToD (x) ((double)(x))
----- Original Message -----
From: "Chalain Marc" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 10:21 AM
Subject: How to convert Int to Double?
> Can you give me some observations on this code, please?
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/