Sometimes you might have small numbers in PHP. So small, that they are automatically converted to exponential format. In order to show them as numbers, here is the code:
$number = rtrim(number_format( $number , 8), 0); |
You’re done!
Sometimes you might have small numbers in PHP. So small, that they are automatically converted to exponential format. In order to show them as numbers, here is the code:
$number = rtrim(number_format( $number , 8), 0); |
You’re done!
You must be logged in to post a comment.
thanks