我想用PHP计算一个数字的百分比.例如:
$percentage = 50; $totalWidth = 350;
对于此示例,350%的50%= 175
我怎样才能做到这一点?
php percentage
percentage ×1
php ×1