Rune.GetNumericValue(Rune) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.