System.Character.TCharacter.GetNumericValue

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

class function GetNumericValue(C: Char): Double; overload; inline; static;
class function GetNumericValue(C: UCS4Char): Double; overload; inline; static;
class function GetNumericValue(const S: string; Index: Integer): Double; overload; inline; static;

C++

static double __fastcall GetNumericValue(System::WideChar C)/* overload */;
static double __fastcall GetNumericValue(System::UCS4Char C)/* overload */;
static double __fastcall GetNumericValue(const System::UnicodeString S, int Index)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Character.pas
System.Character.hpp
System.Character TCharacter

Description

Determines the numeric value of a UTF-16 character.

This method 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.

See Also

Code Examples