Answers for "php calculate percentage"

PHP
1

php calculate percentage

$percentage = 50;
$totalWidth = 350;

$new_width = ($percentage / 100) * $totalWidth;
Posted by: Guest on March-27-2021

Code answers related to "php calculate percentage"

Browse Popular Code Answers by Language