Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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