bcmath
bcmath copied to clipboard
PHP bcmath as a class, with several enhancements.
```php use Danhunsaker\BC; BC::parse('0+0+0+0.9', null, 10); ``` The result is `0`.
when I use php function ,like ln() log()、exp(), in $formula with bc::parse(), it output a string for me. also in pow(x,y) --- Want to back this issue? **[Post a bounty...
` $res = BC::parse('0 | 0'); var_dump($res); ` Old version: Replacing 0|0 with in the (0|0) section of (0|0) Replacing (0|0) with in (0|0) string(0) "" New version: Replacing 0|0...