drlenux/bc-math

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

PHP BcMath factory

1.3.0 2019-10-01 15:08 UTC

This package is auto-updated.

Last update: 2021-06-14 08:05:31 UTC


README

<?php

use DrLenux\BcMath\BcMathFactory;

BcMathFactory::instance()->bcscale(2);

echo BcMathFactory::instance()->bcadd(1.234, 1.234);
// return 2.46