PHP Classes

Ziko Math: Perform simple common math operations

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 208 All time: 8,386 This week: 560Up
Version License PHP version Categories
ziko-math 1Artistic License5Math
Description 

Author

This is a simple class that can perform common math operations. Currently it can perform the following operations:

- Addition, subtraction, multiplication, division
- Get the absolute, rounded or the integer part of a number
- Calculate the logarithm, exponentiation, sine, cosine, tangent, cotangent, arc-sine, arc-cosine, arc-tangent, arc-cotangent, secant, cosecant, and differentiation for sine, cosine, tangent, and cotangent

Picture of Ali Bahaari
  Performance   Level  
Name: Ali Bahaari <contact>
Classes: 1 package by
Country: Iran Iran
Age: 27
All time rank: 411085 in Iran Iran
Week rank: 4338 Down92 in Iran Iran Down

Example

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Math Class</title>
    <style type="text/css">

        @font-face {
            font-family: 'CaviarDreams';
            src: url('Fonts/CaviarDreams.eot');
            src: url('Fonts/CaviarDreams.eot') format('embedded-opentype'),
            url('Fonts/CaviarDreams.woff2') format('woff2'),
            url('Fonts/CaviarDreams.woff') format('woff'),
            url('Fonts/CaviarDreams.ttf') format('truetype'),
            url('Fonts/CaviarDreams.svg#CaviarDreams') format('svg');
        }

        html {
            font-family: 'CaviarDreams';
        }

    </style>
</head>
<body>

</body>
</html>
<?php

require_once('Math.php');
echo
Math::diffCos(60);

?>


  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example An example for ZikoMath
Plain text file Math.php Class ZikoMath Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:208
This week:0
All time:8,386
This week:560Up