PHP error - Need help

Discussion in 'PHP' started by PowerExtreme, May 10, 2008.

Thread Status:
Not open for further replies.
  1. #1
    Ok soo wat the probem is 1 oh the scripts i use does calculations using php

    but it cant calculate more than 2147483647 which has made the script useless

    how can i fix this
     
    PowerExtreme, May 10, 2008 IP
  2. Nalltaroh

    Nalltaroh Peon

    Messages:
    54
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Actually, an signed long is between 2.147.483.647 and -2.147.483.647.

    I don't think is a solution to this, as PHP supports only signed longs.
     
    Nalltaroh, May 10, 2008 IP
  3. atoztoa

    atoztoa Well-Known Member

    Messages:
    4,206
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    110
    #3

    I am not sure about it

    does all php versions supports these ?
     
    atoztoa, May 10, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #4
    You'd have to use a 64-bit system, that's the max for 32-bit.

    Jay
     
    jayshah, May 10, 2008 IP
  5. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #5
    So in short there is no solution ..
     
    PowerExtreme, May 12, 2008 IP
  6. juust

    juust Peon

    Messages:
    214
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    juust, May 13, 2008 IP
  7. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Its a readymade script i use soo changing the coding is out of question
     
    PowerExtreme, Jun 3, 2008 IP
  8. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #8
    So then even if someone gave you a solution it would be useless ??

    Seems a bit odd to request something that you could or would never use ... a bit like me asking for a uterus ...
     
    krakjoe, Jun 3, 2008 IP
Thread Status:
Not open for further replies.