System.Character.TCharacter.GetNumericValue

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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 */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Character.pas
System.Character.hpp
System.Character TCharacter

説明

UTF-16 文字の数値を決定します。

このメソッドはオーバーロード(多重定義)されています。

UTF-16 文字 C の数値を返します。C が数字の Unicode カテゴリに属さない場合、戻り値は未定義になります。

文字列 S 内のインデックス Index に位置する UTF-16 文字の数値を返します。この文字が数字の Unicode カテゴリに属さない場合、戻り値は未定義になります。

関連項目