how to convert a float value into int in angualr 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