note 47212 rejected from function.number-format by tomsommer
| From: | tomsommer@php.net | Date: | Sat, 06 Nov 2004 15:20:30 +0000 |
| Subject: | note 47212 rejected from function.number-format by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80197@lists.php.net to get a copy of this message | ||
Note Submitter: admin at localhost dot com
----
i would like to change
249.899 to 249
my code looks like
$my_val="$my_val";
$my_val=sprintf( "%.2f",$my_val);
how would i go on about change that? please!