Show percentage use PHP

 

function get_percentage ( $total, $analized )
{
return round ( $analized / ( $total / 100 ), 2 ).'%';
}
posted @ 2011-11-09 01:23  Lux.Y  阅读(175)  评论(0)    收藏  举报