|
From: Tim S. <ti...@we...> - 2003-09-28 13:53:33
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi List!
I have a problem with getting the floatpart from a float. My code to
do this
looks so atm:
double number;
number = number - (int)number;
but with this usage I always get 0 for number. Does someone
know how to
get the floatpart and can tell me?
so long
Tim
- --
WE ARE TEH BORG!
RESSISTANCE IS FUTILE!
http://we-are-teh-b.org/~tim/borg.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32) - WinPT 0.5.6
iD8DBQE/dugtsMXChvH2qP0RArldAKCyN/oDTMOkppsAneVfnc2laQaRSACgmfHN
yEoHOoLKPP+n/OzQ6Dsy05A=
=aDJe
-----END PGP SIGNATURE-----
|