Spoon/library — pull request #42 by deslooverej (2012-09-12 14:19:02+00:00)
Title: Currencies & prices: do magic with numbers (tribute to Spoon)

Calculate with numbers. Works like magic.

Example:

$price = new SpoonPrice(60);
$price->add(50.155);
$price->divide(2);
$price->delete(5);
$total = $price->get();

You even can use a VAT, f.e.: 21 %
and get the VAT from the total
$totalWithoutVAT = $price->get(false);

And many more...