Scott Hamm wrote:
How do I limit the decimal value into 2 places?
<? If ($ProdActu <> 0)
{
$Eff = ($ProdActu/$ProdProj)*100;
}
?>
See number_format() in the PHP manual.
Janet
-- Janet Valade -- janet.valade.com
Scott Hamm wrote:
How do I limit the decimal value into 2 places?
<? If ($ProdActu <> 0)
{
$Eff = ($ProdActu/$ProdProj)*100;
}
?>
See number_format() in the PHP manual.
Janet
-- Janet Valade -- janet.valade.com