newbie - decimal places in arthimetic functions

From: Date: Fri, 13 Dec 2002 19:10:06 +0000
Subject: newbie - decimal places in arthimetic functions
Groups: php.general 
Request: Send a blank email to php-general+get-128195@lists.php.net to get a copy of this message
Hi- How can I control the decimal places returned by an arthimetic function? I would like this divsion function to only return two decimal places (rounded up). $calcsize = $value / $oneGig; Thanks in advance, Max

« previous php.general (#128195) next »