示例#1
0
 public static decimal?StringToNullableDecimal(string str)
 {
     if (StringDecimalDeterminer.Is(str))
     {
         return(StringDecimalDeterminer.To(str));
     }
     return(null);
 }
示例#2
0
 public static decimal StringToDecimal(string str, params IConversionImpl <string, decimal>[] impls)
 {
     return(StringDecimalDeterminer.To(str, impls));
 }
示例#3
0
 public static decimal StringToDecimal(string str, decimal defaultVal = default)
 {
     return(StringDecimalDeterminer.To(str, defaultVal));
 }