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

TShortIntHelper.ToBoolean

Convert to a boolean value.

Declaration

Source position: syshelph.inc line 928

public function TShortIntHelper.ToBoolean: Boolean;

Description

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

See also

TShortIntHelper.ToSingle

  

Convert to an single-sized floating point value.

TShortIntHelper.ToDouble

  

Convert to a double-sized floating point value.

TShortIntHelper.ToExtended

  

Convert to an extended-sized floating point value.

TShortIntHelper.ToString

  

Convert the value to string.

TShortIntHelper.ToHexString

  

Convert to a hexadecimal string representation.


Documentation generated on: Jul 24 2023