[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert a string to a floating point value
Source position: syshelph.inc line 208
public class function TSingleHelper.Parse( |
const AString: string |
):Single; overload; |
const AString: string; |
const AFormatSettings: TFormatSettings |
):Single; overload; |
Parse will try to convert AString to a single-sized floating point value. It will take into account internationalization settings. (it uses FloatToStr).
If the string AString is not a valid floating-point value, a EConvertError exception is raised.
|
Convert a float value to a string using a fixed format. |
|
|
Convert a single-sized floating point value to a string |
|
|
Try to convert a string to a single-sized floating point value. |