ph_n2b PowerHome formula function
Description
Converts a numeric value to a logical true or logical false 
Syntax
ph_n2b ( al_num )
Argument Description
al_num Long. The number to interpret as either true or false
Return value
Boolean. Returns FALSE if al_num = 0. Any other value for al_num will return TRUE 
Usage
Use this function convert numeric values into logical true/false for use in if( ) and case( ) functions (or anywhere else a boolean value is allowed) 
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_n2b(ph_and(3248,32)) - Returns TRUE. This example tests whether the 6th bit from the lefmost least significant bit is set in the number 3248. The binary representation for 3248 is 110010110000