webit / bcmath-bundle
Symfony 2 integration for BcMath wrapper
1.2
2017-02-14 16:41 UTC
Requires
- php: >=5.3.3
- symfony/symfony: ~2.1|~3.0
- webit/bcmath: ~1.1
This package is auto-updated.
Last update: 2026-02-21 00:47:39 UTC
README
Installation
Composer: add the webit/bcmath-bundle into composer.json
{
"require": {
"php": ">=5.3.2",
"webit/bcmath-bundle": "~1.1"
}
}
Usage
You can set the default BcMathNumber calculation scale (config.yml):
webit_bc_math: scale: 10 #default to 8
Documentation of BcMath Wrapper: README.md