Skip to content

TIntegerHelper.ToBoolean

Convert to a boolean value.

Declaration

Source position: syshelph.inc line 1182

public 
function TIntegerHelper.ToBoolean : Boolean;

Description

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

See also

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