On 3/22/07, Matt Carlson <[EMAIL PROTECTED]> wrote:
When dealing with large numbers inside of php, I know at the int limit, a
variable is recast into float.
1). How do you return the true number of the float when it reaches the upper
limits of mysql's bigint (9223372036854775807).
2). How do you handle numbers that large, while maintaining precision.
3). Is there a php equivalent of unsigned?
Thanks all
Hmm, better have a look at the gmp functions : www.php.net/gmp
if you don't have the gmp math library installed, you might want to
look at the worses alternative bcmath, which is automatically build
into php: www.php.net/bc
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php