isFloat js code example
Example: verify if number is not floating
let number = 2.4
Number.isInteger(number) // false
let number2 = 2
Number.isInteger(number2) // true
let number = 2.4
Number.isInteger(number) // false
let number2 = 2
Number.isInteger(number2) // true