System.Character.GetNumericValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetNumericValue(C: Char): Double;
function GetNumericValue(C: UCS4Char): Double;
function GetNumericValue(const S: string; Index: Integer): Double;

C++

extern DELPHI_PACKAGE double __fastcall GetNumericValue(System::WideChar C)/* overload */;

Properties

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

Description

Attention: GetNumericValue is deprecated. Please use TCharHelper.GetNumericValue.

Determines the numeric value of a UTF-16 character.

This function is overloaded.

GetNumericValue 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