예제 #1
0
 public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out float result)
 {
     NumberFormatInfo2.ValidateParseStyleFloatingPoint(style);
     return(TryParse(s, style, NumberFormatInfo.GetInstance(provider), out result));
 }
예제 #2
0
 public static ushort Parse(string s, NumberStyles style)
 {
     NumberFormatInfo2.ValidateParseStyleInteger(style);
     return(Parse(s, style, NumberFormatInfo.CurrentInfo));
 }
예제 #3
0
 public static float Parse(string s, NumberStyles style, IFormatProvider provider)
 {
     NumberFormatInfo2.ValidateParseStyleFloatingPoint(style);
     return(Number.ParseSingle(s, style, NumberFormatInfo.GetInstance(provider)));
 }
예제 #4
0
 public static float Parse(string s, NumberStyles style)
 {
     NumberFormatInfo2.ValidateParseStyleFloatingPoint(style);
     return(Number.ParseSingle(s, style, NumberFormatInfo.CurrentInfo));
 }
예제 #5
0
 public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out ulong result)
 {
     NumberFormatInfo2.ValidateParseStyleInteger(style);
     return(Number.TryParseUInt64(s, style, NumberFormatInfo.GetInstance(provider), out result));
 }
예제 #6
0
 public static ulong Parse(string s, NumberStyles style, IFormatProvider provider)
 {
     NumberFormatInfo2.ValidateParseStyleInteger(style);
     return(Number.ParseUInt64(s, style, NumberFormatInfo.GetInstance(provider)));
 }
예제 #7
0
 public static ulong Parse(string s, NumberStyles style)
 {
     NumberFormatInfo2.ValidateParseStyleInteger(style);
     return(Number.ParseUInt64(s, style, NumberFormatInfo.CurrentInfo));
 }