How do we convert exponent format into actual number from PHP

后端 未结 2 1124
误落风尘
误落风尘 2021-01-20 08:28

How do we convert 8.64E+14 into actual value from PHP?

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-20 09:25

    It's already an actual value. The value type is float.

    $float = 8.64E+14;
    var_dump($float); //will give you float 8.64E+14
    

提交回复
热议问题