PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Dev Sharma   Profit and Loss PHP Calculator   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Profit and Loss PHP Calculator
Math class that can calculate profit and loss
Author: By
Last change: Update of README.md
Date: 1 year ago
Size: 530 bytes
 

Contents

Class file image Download

ProfitandLossCalculator

Profit and Loss calculator is a simple calculator which helps you find the profit or loss using the cost price and the selling price with percentage which rounds up-to 2 decimal places if needed. The calculator only follows the formula it is meant to follow in the profit and loss formulas.

AdvancedVersion

The advanced version helps you to find out the cost price or selling price(if it's missing from your problem sum) with the help of profit or your loss given below in your problem sum.

Enjoy!