#native_company# #native_desc#
#native_cta#

Percentage

By Lee Patterson
on April 5, 2002

Version: 1.0

Type: Function

Category: Math Functions

License: GNU General Public License

Description: Takes two paramaters ($int1, $int2) and uses them to calculate the percentage.

<?php

Function percentage($int1, $int2) {
	$per = $int1 / $int2;
	$res = $per * 100;
	return $res;
}

?>