sostituisci parseInt con Math.floor