Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

percentage in php

$percentage = 10; //persentage
$totalWidth = 1000; //Summa

$new_width = ($percentage / 100) * $totalWidth;
 
PREVIOUS NEXT
Tagged: #percentage #php
ADD COMMENT
Topic
Name
5+1 =