Menu

Integer Wert wird überschritten

Bugreport
2011-03-10
2013-04-25
  • Nobody/Anonymous

    Hallo,

    es gibt Kontonummern, die größer sind als der zulässige Wertebereich für eine Integer-Variable (  2147483647
    ). Immer, wenn eine größere Kontonummer angegeben wird, wird diese durch  2147483647
    ersetzt. Was kann ich hier machen ?

     
  • Karsten

    Karsten - 2011-10-05

    als Text übergeben :)

    also statt
    $konto = 2147483648;

    $konto = "2147483648";
    $bank->isValid($konto);

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.