PHP Classes

File: Examples.php

Recommend this page to a friend!
  Classes of Abdellah Ben Rahmoun   AMaths   Examples.php   Download  
File: Examples.php
Role: Example script
Content type: text/plain
Description: Example File
Class: AMaths
Perform general purpose mathematical operations
Author: By
Last change:
Date: 13 years ago
Size: 410 bytes


Class file image Download
$a = new Math();

$a ->Sc2Dc(3.330000e+2);//333
echo $a ->Dc2Sc(333);//3.330000e+2
echo $a ->Dpow(16,10);//2147483647
echo $a ->Dpow(34324324,234234423);//Imp
print_r($a ->Equation2(1,-5,4)); //(4,1)
echo $a ->even(232); // True Or 1
echo $a ->even(233); // False
echo $a ->Factorial(4); // 24
echo $a ->Percentage(3,5,100); // 60
echo $a ->PerimeterC(34); // 60