These are chat archives for Litipk/php-bignumbers

7th
Sep 2017
VanceLin
@vancelin
Sep 07 2017 10:03
excuse me
anybody here?
I have a problem, could someone help me?

In my case,
$a = Decimal::fromFloat(0.048993158197143784, 16);
var_dump($a);

it returns

`

object(Litipk\BigNumbers\Decimal)#19 (2) {

| ["value":protected]=>
| string(18) "0.0489931581971440"
| ["scale":"Litipk\BigNumbers\Decimal":private]=>
| int(16)
| }
`

I want it show all of the number behind the fixed point, not the rounding number