PHP Classes

PHP Calculator: Calculate the result of multiple math operations

Recommend this page to a friend!
  Info   View files Example   View files View files (35)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-01-14 (10 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: 89 All time: 9,679 This week: 11Up
Version License PHP version Categories
taschenrechner 1.0.6Free for non-comm...7PHP 5, Math
Description Author

This package can calculate the result of multiple math operations.

It can process multiple math operations with numeric parameters.

A separate class implements each operation. Currently the package supports operations like addition, subtraction, multiplication, division, power, sin, cos, tan, root and grouping of operations.

Innovation Award
PHP Programming Innovation award winner
November 2021
Winner
Some applications need to be able to perform calculations with dynamic operations and values that are only available at the time when the application code executes.

This package provides a solution for dynamically composing math operations depending on a logic defined by the applications using values for the operations variables that the application determines at execution time.

Manuel Lemos
Picture of stefan
  Performance   Level  
Name: stefan <contact>
Classes: 1 package by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Details

A Calculator created in PHP

This is a PHP Calculator which can take a math operation and return the result.

Currently the package supports operations like addition, subtraction, multiplication, division, power, root and grouping of operations.

  Files folder image Files  
File Role Description
Files folder imagepublic (2 files, 1 directory)
Files folder imagetest (14 files)
Accessible without login Plain text file calculator.mdj Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  public  
File Role Description
Files folder imageClasses (3 files, 1 directory)
  Accessible without login Plain text file index.php Aux. Auxiliary script
  Accessible without login Plain text file rechne.php Example Example script

  Files folder image Files  /  public  /  Classes  
File Role Description
Files folder imageOperationen (12 files)
  Accessible without login Plain text file Calculator.php Class Class source
  Accessible without login Plain text file Concatinator.php Class Class source
  Accessible without login Plain text file Term.php Class Class source

  Files folder image Files  /  public  /  Classes  /  Operationen  
File Role Description
  Accessible without login Plain text file Addition.php Class Class source
  Accessible without login Plain text file Cosinus.php Class Class source
  Accessible without login Plain text file Division.php Class Class source
  Accessible without login Plain text file Klammer.php Class Class source
  Accessible without login Plain text file KlammerZu.php Class Class source
  Accessible without login Plain text file Multiplikation.php Class Class source
  Accessible without login Plain text file Operation.php Class Class source
  Accessible without login Plain text file Potenz.php Class Class source
  Accessible without login Plain text file Sinus.php Class Class source
  Accessible without login Plain text file Subtraktion.php Class Class source
  Accessible without login Plain text file Tan.php Class Class source
  Accessible without login Plain text file Wurzel.php Class Class source

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file AdditionTest.php Class Class source
  Accessible without login Plain text file CalculateTest.php Class Class source
  Accessible without login Plain text file ConcatinatorTest.php Class Class source
  Accessible without login Plain text file CosTest.php Class Class source
  Accessible without login Plain text file DivisionTest.php Class Class source
  Accessible without login Plain text file init.php Class Class source
  Accessible without login Plain text file KlammerTest.php Class Class source
  Accessible without login Plain text file MultiplikationTest.php Class Class source
  Accessible without login Plain text file OperationTest.php Class Class source
  Accessible without login Plain text file PotenzTest.php Class Class source
  Accessible without login Plain text file SinTest.php Class Class source
  Accessible without login Plain text file SubtraktionTest.php Class Class source
  Accessible without login Plain text file TanTest.php Class Class source
  Accessible without login Plain text file WurzelTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:89
This week:0
All time:9,679
This week:11Up
For more information send a message to info at phpclasses dot org.