JQuery Math.floor return's zero, why?
i wanna ask why Math.floor method retruns me zero value, this is my code

    var duration = 217;
    
    var sec = Math.floor((duration / 1000) % 60);
    var min = Math.floor((duration / (60 * 1000)) % 60);

what's wrong there?

JQuery Math.floor return's zero, why?
===

i wanna ask why Math.floor method retruns me zero value, this is my code

    var duration = 217;
    
    var sec = Math.floor((duration / 1000) % 60);
    var min = Math.floor((duration / (60 * 1000)) % 60);

what's wrong there?
