isodd
Test whether a number is odd.
Syntax
Section titled “Syntax”v = isodd(value)Description
Section titled “Description”Returns true if the integer part of value is odd.
Examples
Section titled “Examples”isodd(7) % 1isodd(4) % 0See also
Section titled “See also”iseven— Test whether a number is even.