RAD Studio VCL Reference
|
Converts a string to an integer, throwing an exception if the string is invalid.
function ToInt: Integer;
__fastcall int ToInt() const;
System::WideString::ToInt converts the given string to an integer value and returns the integer. If the string doesn't contain a valid value, an EConvertError exception is thrown.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|