Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TNativeIntHelper.ToBoolean

Convert to a boolean value.

Declaration

Source position: syshelph.inc line 1455

public function TNativeIntHelper.ToBoolean: Boolean;

Description

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

See also

TNativeIntHelper.ToSingle

  

Convert to an single-sized floating point value.

TNativeIntHelper.ToDouble

  

Convert to a double-sized floating point value.

TNativeIntHelper.ToExtended

  

Convert to an extended-sized floating point value.

TNativeIntHelper.ToString

  

Convert the value to string.

TNativeIntHelper.ToHexString

  

Convert to a hexadecimal string representation.


Documentation generated on: Nov 22 2024