Login   Register  
PHP Classes
elePHPant
Icontem

File: Examples.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2010-11-12 09:13
Size: 410 bytes
 

Contents

Class file image Download
<?
include("AMaths.php");
$a = new Math();

echo 
$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
?>