PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: PHP CLI Calculator Class

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Posted on:

Categories: Notable Packages

Sometimes it is necessary to perform simple math calculations.

This class allows users to make calculations on a command line console using a simple script that uses the class.

Read this article to learn more details about how this notable PHP package works.




The package PHP CLI Calculator Class is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Perform calculations with values from the console

Here follows in more detail what it does:

This class can perform calculations with values from the console.

It can read the user input from the shell console to perform several types of math operations.

First the class reads the input to take one letter that defines which operation will be performed.

Then the class calls the respective operation function to take additional parameters to perform the specified math operation.

Currently it can perform the operations: addition, subtraction, multiplication, division, remainder and percentage.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.




  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)