Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-14 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 395 This week: 2All time: 5,876 This week: 845Up
Version License PHP version Categories  
pricerounder 1.0GNU General Public Lice...5PHP 5, Finances, Math
Description Author  
PHP Programming Innovation award nominee
June 2013
Number 4


Prize: One downloadable copy of PhpED Professional
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.
Picture of Ovunc Tukenmez
Name: Ovunc Tukenmez <contact>
Classes: 9 packages by
Country: Turkey Turkey
Age: 28
All time rank: 88618 in Turkey Turkey
Week rank: 357 Up6 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
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  /  class  
File Role Description
  Plain text file PriceRounder.php Class class source

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
 Version Control Unique User Downloads Download Rankings  
 0%Total:395All time:5,876
 This week:2This week:845Up