note 11484 added to is_float
| From: | jaks at tpno dot org | Date: | Thu, 22 Feb 2001 11:15:45 +0000 |
| Subject: | note 11484 added to is_float | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11404@lists.php.net to get a copy of this message | ||
More along the lines of the alternating color scheme for tables...
You can also work out something like this...
some_loop
{
$data1 += $data1;
$data2 = $data1 / 2;
$data3 = is_float($data2) == 1 ? "#000000" : "#222222";
}
http://www.php.net/manual/en/function.is-float.php