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

TStringHelper.Parse

Return a string representation of the argument

Declaration

Source position: syshelph.inc line 69

public class function TStringHelper.Parse(

  const AValue: Boolean

):string; overload;

class function TStringHelper.Parse(

  const AValue: Extended

):string; overload;

class function TStringHelper.Parse(

  const AValue: Int64

):string; overload;

class function TStringHelper.Parse(

  const AValue: Integer

):string; overload;

Description

Parse will return a string representation of the argument AValue. How this is done depends on the type of the AValueargument:

Boolean
The result is formatted using BoolToStr.
Extended
The result is formatted using FloatToStr.
Int64
The result is formatted using IntToStr.
Integer
he result is formatted using IntToStr.

See also

BoolToStr

  

Convert a boolean value to a string.

FloatToStr

  

Convert a float value to a string using a fixed format.

IntToStr

  

Convert an integer value to a decimal string.


Documentation generated on: Sep 28 2017