dm/decimal-calculator-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Provides a DI service and Twig tag/filter for decimal calculations with arbitrary precision.

dev-master 2014-08-03 07:49 UTC

This package is auto-updated.

Last update: 2022-02-01 12:37:45 UTC


README

Decimal calculator bundle provides you with the possibility to execute mathematical calculations with arbitrary precision in PHP.

It comes with default implementation by using BN-PHP library which uses PHP's BC Math library for mathematical operations with arbitrary precision.

Bundle provides you with:

  • Service, for calculations on controller/service level
  • Twig extension, for calculations within the templates

For more information about this bundle, see Resources/doc directory.

This bundle is licensed under MIT licence, courtesy of Nikola Svitlica, a.k.a TheCelavi