note 91968 deleted from function.number-format by googleguy

From: Date: Sat, 19 Jan 2013 03:45:24 +0000
Subject: note 91968 deleted from function.number-format by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193240@lists.php.net to get a copy of this message
Note Submitter: therealsix ---- I found you can add trailing zeroes simply by adding a float point value containing the number of decimal places you want to appear. <?php $number = 5.2; $number += .0000; echo $number; ?> Outputs: 5.2000

« previous php.notes (#193240) next »