Qt World Summit: Register Today!


Android: Modulus returns NaN



  • Hi everyone,

    I'm facing a strang issue on Android.
    While on every other platform ( i.e. Windows, OS X, iOS ) the modulus work, on android I always get NaN.
    Does anyone ever faced that problem ?

    What i'm doing is a simple x % 5 where x is the index in a ListView.


Log in to reply