RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Character.GetNumericValue Function

Determines the numeric value of a UTF-16 character.

Pascal
function GetNumericValue(C: Char): Double; overload;
function GetNumericValue(const S: string; Index: Integer): Double; overload;
C++
Double GetNumericValue(Char C);
Double GetNumericValue(const AnsiString S, int Index);

This function is overloaded. 

Returns the numeric value of the UTF-16 character C. If C is not in a numeric Unicode category, then the return value is undefined. 

Returns the numeric value of the UTF-16 character and index Index of the string S. If this character is not in a numeric Unicode category, then the return value is undefined. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!