A statusBoolean-to-string results in either a “false” string value if boolean false, or “true” string value if boolean true. A statusBoolean “null” value does not change the target string value.
A statusBoolean-to-simple number data type link (to-double, to-float, to-long, to-integer), by default, results in a 0 value for a boolean false, or 1 if a boolean true. A link’s Converter has two editable child properties: “True Value” (default = 1) and “False Value” (default = 0), to specify non-default values.
Typically, a statusBoolean “null” does not change a target long or integer link 0 value; however, a “null” changes a linked double or float value to “nan” (not a number).
A statusBoolean to statusNumeric or statusEnum link results in a 0 value for a boolean false, or 1 if a boolean true. A statusBoolean “null” changes the statusNumeric or statusEnum target to “null”.
A statusBoolean-to-statusString, by default, has a string value false if false, or string value true if boolean true. A statusBoolean “null” changes the statusString target to “null”.
Links to other Conversion link "From" notes.
Copyright © 2000-2014 Tridium Inc. All rights reserved.