Echo a very large number

后端 未结 5 2282
抹茶落季
抹茶落季 2021-01-01 21:30

I have a unusual problem which I have no idea how to solve.

I have a JSON file, where a application id is stored, namely the following:

\"app_id\": \         


        
5条回答
  •  情书的邮戳
    2021-01-01 22:19

    I had the same problem here: Simply use phps number_format function, which solves this issue:

    $number = "363924477024846";
    echo number_format($number, 0, '', '');
    
    // 363924477024846
    

提交回复
热议问题