#odd()
DESCRIPTION returns TRUE if a given integer is odd; FALSE if the integer is even
SYNOPSIS
#odd(i)
ARGUMENTS i - an integer, or integer expression
EXAMPLES
# pikt +C 'output $text(#odd(3))' 1 # pikt +C 'output $text(#odd(4))' 0 # pikt +C 'output $text(#odd(3.5))' Jun 28 13:03:53 milan pikt[26709]: [ID 7200 ERROR] (../../../src/piktd/expr.y, line 1602, exprparse()) in #odd(), , non-integral argument: 3.500000 -1
SEE ALSO #even() Numerical Functions String Functions