OK I tried the (int) and round() tricks - and even tried to settype($varName, "double) <pre php 4.2.0> and I am still getting massive decimal points....
$TotalVotes = $totalRows_Recordset1 + $totalRows_Recordset2 + $totalRows_Recordset3 + $totalRows_Recordset4 + $totalRows_Recordset5;
(int)$Percent5 = $totalRows_Recordset5 / $TotalVotes *100;
(int)$Percent4 = $totalRows_Recordset4 / $TotalVotes *100;
(int)$Percent3 = $totalRows_Recordset3 / $TotalVotes *100;
(int)$Percent2 = $totalRows_Recordset2 / $TotalVotes *100;
(int)$Percent1 = $totalRows_Recordset1 / $TotalVotes *100;
What am I over looking?? I tried following this thread