Rune.GetNumericValue(Rune) Method

Definition

Gets the numeric value associated with the specified rune.

public:
 static double GetNumericValue(System::Text::Rune value);
public static double GetNumericValue (System.Text.Rune value);
static member GetNumericValue : System.Text.Rune -> double
Public Shared Function GetNumericValue (value As Rune) As Double

Parameters

value
Rune

The rune for which to get the numeric value.

Returns

Double

The numeric value associated with value, or -1 if value doesn't represent a numeric character.

Remarks

This method has behavior equivalent to CharUnicodeInfo.GetNumericValue. Refer to that documentation for more information.

Applies to