I have the following code and need to not display decimals...
I'm unsure where to add a round() function...
<?php
$nmdwiid = $row_eLearningSuite['nmdwiid'];
$sql = "SELECT COUNT(*) AS total FROM eLearningSuiteProduct";
$query = mysql_query($sql);
$recordset = mysql_fetch_assoc($query);
$count = $recordset["total"];
echo $nmdwiid/$count * 100;
?>
Any help would be great!
Ted