You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

BOOLEAN


Converts a value of a string into a Boolean. 


Syntax


BOOLEAN(string, [format])


Inputs

  • string - The string value that is converted to Boolean. 

  • format (optional) - The format used for conversion. Format must be enclosed by quotes, e.g. ”1;0”. 


Default formats

For all conversion functions that use a string as parameter, the [format] describes the format in which the input string value parameter is in. When not specifying a format, by default this format is used: 

  • string to Boolean - true;false. 


Return type

  • Boolean


Examples

  • BOOLEAN(“1”,”1;0”) results in a Boolean value TRUE.  

Back to Top

  • No labels