function estEntier(x){ return(x == Math.round(x)); } function estEntierNaturel(x){ return(estEntier(x) && (x>=0)); }