percentage problems

From: Date: Sat, 22 Sep 2001 21:41:42 +0000
Subject: percentage problems
Groups: php.general 
Request: Send a blank email to php-general+get-68366@lists.php.net to get a copy of this message
Hello all, I'm having some troubles making correct percentages. I'm writing a simple poll system. Is there an easy way to generate percentages? I know to divide and all that good stuff. I do substr to get rid of the decimals, but sometimes the percentages still aren't displayed correctly. How do you people usually go about doing percentages? Thanks, Tyler Longren

« previous php.general (#68366) next »