Skip to content

BoolToFloat

in Lib.numbers.bool.convert

Allows the conversion of a Boolean value into a float value with predefined values

Also see [Boolean] / [Value]

Input Parameters

Name (Relevancy & Type) Description
BoolValue (Boolean Relevant) Input / definition of the boolean to be converted
ForFalse (Single) Defines which float value is output for 'False' or 0
ForTrue (Single) Defines which float value is output for 'True' or 1

Outputs

Name Type
Result System.Single