[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TIntegerHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper for a Integer-typed ordinal value

Declaration

Source position: syshelph.inc line 509

type TIntegerHelper = type helper

public

Const

  MaxValue = 2147483647

  

Maximum value for a Integer

  MinValue = - 2147483648

  

Minimum value for a Integer

  class function Size;

  

Size, in bytes, of the Integer value

  class function ToString();

  

Convert the value to string

  class function Parse();

  

Convert from a string

  class function TryParse();

  

Try to convert a string to a Integer, report success or failure

  function ToBoolean;

  

Convert to a boolean value

  function ToDouble;

  

Convert to a double-sized floating point value

  function ToExtended;

  

Convert to an extended-sized floating point value

  function ToBinString;

  function ToHexString();

  

Convert to a hexadecimal string representation

  function ToSingle;

  

Convert to an single-sized floating point value

  function SetBit();

  function ClearBit();

  function ToggleBit();

  function TestBit();

end;

Inheritance

TIntegerHelper

  

Helper for a Integer-typed ordinal value

Description

TIntegerHelper contains some auxiliary routines for a Integer-typed ordinal value. It consists mainly of conversion routines to and from other types.

See also

TStringHelper

  

Helper type for strings.

TShortIntHelper

  

Helper for a ShortInt-typed ordinal value

TSmallIntHelper

  

Helper for a SmallInt-typed ordinal value

TWordHelper

  

Helper for a Word-typed ordinal value

TCardinalHelper

  

Helper for a Cardinal-typed ordinal value

TByteHelper

  

Helper for a byte-typed ordinal value

TInt64Helper

  

Helper for a Int64-typed ordinal value

TQWordHelper

  

Helper for a QWord-typed ordinal value

TNativeIntHelper

  

Helper for a NativeInt-typed ordinal value

TNativeUIntHelper

  

Helper for a NativeUInt-typed ordinal value


Documentation generated on: Jun 22 2020