PHP Classes

Ziko Math: Perform simple common math operations

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 208 All time: 8,394 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

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 (2)  
File Role Description
Accessible without login Plain text file index.php Example An example for ZikoMath
Plain text file Math.php Class ZikoMath Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:208
This week:0
All time:8,394
This week:560Up