js get int number from float code example
Example: javascript quick float to integer
console.log(23.9 | 0); // Result: 23
console.log(-23.9 | 0); // Result: -23
console.log(23.9 | 0); // Result: 23
console.log(-23.9 | 0); // Result: -23