Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetNumericValue()

static double System.Text.Rune.GetNumericValue ( Rune value)
inlinestatic

Definition at line 648 of file Rune.cs.

649 {
650 if (value.IsAscii)
651 {
652 uint num = value._value - 48;
653 if (num > 9)
654 {
655 return -1.0;
656 }
657 return num;
658 }
660 }

References System.Globalization.CharUnicodeInfo.GetNumericValue(), and System.value.