note 60710 deleted from function.settype by betz

From: Date: Sun, 15 Jan 2006 10:27:36 +0000
Subject: note 60710 deleted from function.settype by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-101785@lists.php.net to get a copy of this message
Note Submitter: jveldboom[at]gmail.com Reason: useless ---- After pulling data from a database, some of my numbers displayed with extra zeros after the decimal places. (7.000 and 9.000) A simple way to remove these zeros is to add 0 to them. <? $new_num = $num + 0; ?>

« previous php.notes (#101785) next »