开发者

PHP - Get rid of notation

I have a very large number here but I cannot get rid of the notation. I want it to display only numbers instead of "4.8357开发者_运维百科032784585E+24 - 77"

I tried (int)$variable but it didn't help. Suggestions?


Use number_format.

echo number_format($variable, 0, '.', '');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜