note 58247 rejected from ref.math by betz
| From: | betz@php.net | Date: | Fri, 28 Oct 2005 19:38:27 +0000 |
| Subject: | note 58247 rejected from ref.math by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97761@lists.php.net to get a copy of this message | ||
Note Submitter: dagabi at gmail dot com
----
I need a function that changes the amount of the numbers after the decimal point in a number.
example:
the code:
$num=123.65784346454;
$num=funcname($num,2);
echo($num);
would write in the screen
123.65.
is this function exist? or should I write it?