Checks whether a value is odd and returns TRUE or FALSE.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
ISODD(number)The ISODD function evaluates a numeric value and returns TRUE if the number is odd, or FALSE if it is even. If the provided argument is not an integer, it is truncated toward zero before the check is performed.
=ISODD(3)ผลลัพธ์: TRUE
3 is an odd number.
=ISODD(4.5)ผลลัพธ์: FALSE
4.5 is truncated to 4, which is an even number.
The function will return a #VALUE! error if the input cannot be converted to a number.