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.8357032784585E+24 - 77"
I tried (int)$variable but it didn't help. Suggestions?
Use number_format
.
echo number_format($variable, 0, '.', '');
来源:https://stackoverflow.com/questions/6639096/php-get-rid-of-notation