Skip to content

TWordHelper.ToBoolean

Convert to a boolean value.

Declaration

Source position: syshelph.inc line 992

public 
function TWordHelper.ToBoolean : Boolean;

Description

ToBoolean converts the Word value to a boolean: it returns True if the value is nonzero, False if it is zero.

See also

Name Description
TWordHelper.ToSingle Convert to an single-sized floating point value.
TWordHelper.ToDouble Convert to a double-sized floating point value.
TWordHelper.ToExtended Convert to an extended-sized floating point value.
TWordHelper.ToString Convert the value to string.
TWordHelper.ToHexString Convert to a hexadecimal string representation.