Skip to content

TIntegerHelper.ToBoolean

Convert to a boolean value

Declaration

Source position: syshelph.inc line 520

public 
  function 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.ToDouble Convert to a double-sized floating point value
TIntegerHelper.ToExtended Convert to an extended-sized floating point value
TIntegerHelper.ToHexString Convert to a hexadecimal string representation
TIntegerHelper.ToSingle Convert to an single-sized floating point value
TIntegerHelper.ToString Convert the value to string