Use number_format() Like This
{{number_format($metaMyNumbers)}}
<!-- With Comma -->
<!-- 3,985,679,200,757,221 -->
<br/>
{{number_format($metaMyNumbers, 0, '.', '')}}
<!-- Without Comma -->
<!-- 3985679200757221 -->
To add onto that, this is not a Laravel thing. This is a PHP thing. Take a look at Example #2 (Integer Overflow):
http://php.net/manual/en/language.types.integer.php
If PHP encounters a number beyond the bounds of the integer type, it will be interpreted as a float instead. Also, an operation which results in a number beyond the bounds of the integer type will return a float instead.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community