Comment supprimer les nombres désimaux en javascript
let decimalNumber = 4.5
let number = Math.trunc(decimalNumber) // Resault: 4
Moosi
let decimalNumber = 4.5
let number = Math.trunc(decimalNumber) // Resault: 4