Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我这里有一个非常大的数字,但我无法摆脱这个符号。我希望它只显示数字而不是“4.8357032784585E+24 - 77”
我试过 (int)$variable 但没有帮助。建议?
使用number_format.
number_format
echo number_format($variable, 0, '.', '');