Search

Module: Editor

Version: 4.3.0 +

Type: Long, Double or String

Category: Conversion

 

Description

The Formula ConvertToBoolean is an deprecated formula automatically generated while converting Futurama documents from versions before 4.3.0 to Futurama version from 4.3.0. This formula cannot be created manually in the editor and is only introduced to make the conversion from some kinds of formulas to the more strict interpretation for version from Futurama 4.3.0 possible.

The Formula ConvertToBoolean converts a long, double or string value to a boolean.

Long: 0 is converted to FALSE, other values are converted to TRUE.

Double: 0 is converted to FALSE, other values are converted to TRUE.

String: 'TRUE', 'true' and 'True' are converted to TRUE, 'FALSE', 'false' and 'False' are converted to FALSE.

Parameters

Value:

This is the long, double or string value that is to be converted.

Related topics

Deprecated conversion formulas

External Links

http://msdn.microsoft.com/en-us/library/h0b8dwce(v=vs.110).aspx: Underlying .Net method that is used for longs

http://msdn.microsoft.com/en-us/library/z9wz9z3w(v=vs.110).aspx: Underlying .Net method that is used for doubles

http://msdn.microsoft.com/en-us/library/86hw82a3(v=vs.110).aspx: Underlying .Net method that is used for strings

Updated: 2014-01-28