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

TExtendedHelper.TryParse

Try to convert a string to a Extended-sized floating point value.

Declaration

Source position: syshelph.inc line 827

public class function TExtendedHelper.TryParse(

  const AString: string;

  out AValue: Extended

):Boolean; overload;

class function TExtendedHelper.TryParse(

  const AString: string;

  out AValue: Extended;

  const AFormatSettings: TFormatSettings

):Boolean; overload;

Description

TryParse attempts to convert the string AString to a Extended-sized floating point value and reports True if the conversion was successful. In that case the parsed value is returned in AValue.

If the conversion failed, False is returned.

See also

TExtendedHelper.Parse

  

Convert a string to a floating point value.

TExtendedHelper.ToString

  

Convert a Extended-sized floating point value to a string.


Documentation generated on: Nov 23 2024