PHP - 摆脱表示法

How*_*Gee 3 php math int programming-languages notation

我这里有一个非常大的数字,但我无法摆脱这种表示法.我希望它只显示数字而不是"4.8357032784585E + 24 - 77"

我试过(int)$ variable但它没有帮助.建议?

Jon*_*ier 6

使用number_format.

echo number_format($variable, 0, '.', '');
Run Code Online (Sandbox Code Playgroud)