-
Notifications
You must be signed in to change notification settings - Fork 1
TEGS Scripting: Convert Library
Jon Thysell edited this page Mar 19, 2022
·
2 revisions
The Convert library provides constants and functions relevant to converting data types into other data types.
N/A
Converts a specified value to an equivalent Boolean value.
Boolean Convert.ToBoolean(Boolean value)Parameters
value Boolean
The specified value.
Returns
value is returned unchanged.
Boolean Convert.ToBoolean(Integer value)Parameters
value Integer
The specified value.
Returns
true if value is not zero; otherwise, false.
Boolean Convert.ToBoolean(Double value)Parameters
value Double
The specified value.
Returns
true if value is not zero; otherwise, false.
Boolean Convert.ToBoolean(String value)Parameters
value String
The specified value.
Returns
true if value equals Boolean.TrueString, or false if value equals Boolean.FalseString.
Exceptions
value is not equal to Boolean.TrueString or Boolean.FalseString.
TODO
TODO
TODO
Copyright (c) 2019-2024 Jon Thysell