I wrote a script that polls people and it uses bcdiv() to find the decimal after dividing the number of votes for and item by the total number of votes then using str_replace to remove the 0. from the beginning of the percent. I know this is a round about way of doing this but it works fine on my windows box but when I put it up on my server (redhat) with a version of php that is higher than 4.0.0 and acording to the php manual is new enough I get:
Fatal error: Call to undefined function: bcdiv() in /www/htdocs/server.php on line 170
Is there a setting in php.ini I need to change? Or is there just some other way I can figure the percentage?