Posted by .:[ ikciu ]:. on 10/03/06 15:43
Zebrawszy mysli .:[ ikciu ]:. <no@mail.com> wyklepal:
> Zebrawszy mysli fang <fang27@excite.com> wyklepal:
>> Anyone have a suggestion as to what function I can use in php to find
>> if a number is a whole number, and does not have a decimal?
You can cast it to float or integer
$nuber = (float)$number;
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | www: www.e-irsa.pl
2be || !2be $this => mysql_query();
Navigation:
[Reply to this message]
|