note 5333 deleted from intval by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 21:18:14 +0000 |
| Subject: | note 5333 deleted from intval by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1562@lists.php.net to get a copy of this message | ||
<p>The second version above is wrong (sorry!).</p>
<p>This is the correct concise version:</p>
<pre>
$a = intval( $a * 100 ) / 100;
</pre>