Re: [PHP] Integer question

2007-03-23 Thread Tijnema !
On 3/23/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Thu, March 22, 2007 2:33 pm, Tijnema ! wrote: >> > 2). How do you handle numbers that large, while maintaining >> precision. >> >> keep them as strings - and/or use a 64bit machine? > > a 64bit machine would make the number larger, not unli

Re: [PHP] Integer question

2007-03-22 Thread Richard Lynch
On Thu, March 22, 2007 2:33 pm, Tijnema ! wrote: >> > 2). How do you handle numbers that large, while maintaining >> precision. >> >> keep them as strings - and/or use a 64bit machine? > > a 64bit machine would make the number larger, not unlimited :) Even GMP (or BC) isn't unlimited... It's jus

Re: [PHP] Integer question

2007-03-22 Thread Jochem Maas
Tijnema ! wrote: > On 3/22/07, Jochem Maas <[EMAIL PROTECTED]> wrote: >> Matt Carlson 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 >> th

Re: [PHP] Integer question

2007-03-22 Thread Tijnema !
On 3/22/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Matt Carlson 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 (92233

Re: [PHP] Integer question

2007-03-22 Thread Jochem Maas
Matt Carlson 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). I can't see how that is poss

Re: [PHP] Integer question

2007-03-22 Thread Tijnema !
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