System.Character.TCharHelper.GetNumericValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

Properties

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

Description

Determines the numeric value of a UTF-16 character.

This method is overloaded:

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

See Also