ph_not PowerHome formula function
Description
This function is a numeric equivalent of a
boolean NOT
function.
Syntax
ph_not ( value
)
Argument |
Description |
value
|
Unsigned Long. A numeric value
to test.
|
Return value
Unsigned Long. If the value parameter is 0,
then this function will return 1. Any other non-zero value will cause the
function to
return 0.
Usage
Use this function to equate a numeric
integer value as either a 0
or 1.
Examples
The following examples demonstrate typical syntax/usage for this function.
ph_not(234)
The above example will
return
0.