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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to