Métodos internos de JavaScript

let number = '23.32';
let result = parseInt(number);

console.log(result); // 23
SAMER SAEID