PHP Classes

PHP Price Rounder Calculator: Round price amounts according to certain rules

Recommend this page to a friend!
     
  Info   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: 433 All time: 6,297 This week: 571Up
Version License PHP version Categories
pricerounder 1.0GNU General Publi...5PHP 5, Finances, Math
Description 

Author

This class can round price amounts according to certain rules.

It can add one or more rules that specify conditions to test if the value is within a certain range and how to round the value.

The class can take a given value and evaluate the specified rule conditions and apply the rounding calculations for the matching rules.

Innovation Award
PHP Programming Innovation award nominee
June 2013
Number 4


Prize: One downloadable copy of PhpED Professional
Some businesses need to set prices according to certain rules.

This class allows defining price rounding rules according to price ranges.

Manuel Lemos
Picture of Ovunc Tukenmez
  Performance   Level  
Name: Ovunc Tukenmez <contact>
Classes: 14 packages by
Country: Turkey Turkey
Age: 38
All time rank: 72011 in Turkey Turkey
Week rank: 195 Up3 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files (3)  
File Role Description
Files folder imageclass (1 file)
Accessible without login Plain text file output.txt Output output of example script
Accessible without login Plain text file example.php Example example

  Files folder image Files (3)  /  class  
File Role Description
  Plain text file PriceRounder.php Class class source

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:433
This week:0
All time:6,297
This week:571Up