webit/bcmath-bundle

Symfony 2 integration for BcMath wrapper

Installs: 4 271

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 1

Open Issues: 0

Type:bundle

1.2 2017-02-14 16:41 UTC

This package is auto-updated.

Last update: 2024-03-20 20:43:07 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