So entfernen Sie die Desimalnummern in JavaScript
let decimalNumber = 4.5
let number = Math.trunc(decimalNumber) // Resault: 4
Moosi
let decimalNumber = 4.5
let number = Math.trunc(decimalNumber) // Resault: 4