DiZER COMO SE UM Numero decimal em javascript

x % 1 != 0 && !isNaN(x % 1) // true se e somente se x é decimal
Cooperative Corncrake