Returns TRUE if the number is even, and FALSE if it is odd.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
ISEVEN(number)The ISEVEN function evaluates a numeric value and determines its parity. If the provided number is an even integer or results in an even integer after truncation, the function returns TRUE; otherwise, it returns FALSE.
=ISEVEN(4)ผลลัพธ์: TRUE
4 is an even number.
=ISEVEN(7)ผลลัพธ์: FALSE
7 is an odd number.
The ISEVEN function truncates the number towards zero and evaluates the resulting integer.