Making PHP Hold the hundreth place, instead of dropping the 0

From: Date: Thu, 11 Jan 2001 15:09:28 +0000
Subject: Making PHP Hold the hundreth place, instead of dropping the 0
Groups: php.general 
Request: Send a blank email to php-general+get-34111@lists.php.net to get a copy of this message
Hey, Simple question. Breifly rumaged through the PHP docs and couldn't find this answer. How do i force PHP to hold ending zero in a double? Ie- if the price is 15.50, php will output it as 15.5 after it does the math. how do i overcome this. thanks! jason

« previous php.general (#34111) next »