![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Logical functions > GetAsBoolean function |
|
|
| GetAsBoolean function |
| Format |
GetAsBoolean(data) |
| Parameter |
| data - any text, number, date, time, timestamp or container expression, or a field containing text, a number, date, time, timestamp or container. |
| Data type returned |
| number |
| Description |
| Returns 0 if data has a value of 0 or is empty, all other values return 1. |
| Examples |
| GetAsBoolean("") returns 0. |
| GetAsBoolean("Some text here.") returns 0. |
| GetAsBoolean(Container Field) returns 1 when the field named Container Field contains data, or returns 0 when Container Field is empty. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Logical functions > GetAsBoolean function | Next Page |