BOOL2INT Function



Function Type

Predefined function

Syntax

BOOL2INT( <boolValue> )

Description

Converts a Boolean data type to an integer value.

Argument

Description

<boolValue>

Boolean value to be converted.

Returns

Integer

true returns a value of 1
false returns a value of 0

Example

This example converts the Boolean value "true" to the integer value "1".

BOOL2INT(true)



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*