algorithme pour savoir si un nombre est un entier
// The most basic thing you could do is check if x=floor(x).
if (num != Math.floor(num)) { ... }
DevPedrada
// The most basic thing you could do is check if x=floor(x).
if (num != Math.floor(num)) { ... }