static private InternalGetNumericValue ( int ch ) : double | ||
ch | int | |
리턴 | double |
public static double GetNumericValue(string s, int index) { if (s == null) { throw new ArgumentNullException("s"); } if (index < 0 || index >= s.Length) { throw new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_Index")); } return(CharUnicodeInfo.InternalGetNumericValue(CharUnicodeInfo.InternalConvertToUtf32(s, index))); }
public static double GetNumericValue(char ch) { return(CharUnicodeInfo.InternalGetNumericValue((int)ch)); }