System.Character.TCharHelper.GetNumericValue

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

Delphi

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

プロパティ

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

説明

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

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

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

関連項目