Udi Kobi wrote:

Hi,
What c function is used to get f(1000.3) = 1000 ?

Reagrads,

-Udi



Hi Ubi

Try to to cast your value into an integer (int)1000.3=1000 .
If you cast a type into another you may lose some information
if you want to get rid of the value behind the comma you can
cast your value into an integer.

Christian Lindemeier

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

Reply via email to