示例#1
0
 public static double GetRealDouble(string type, int value)
 {
     if (type == PrecipitationAmount.TypeName)
     {
         return(PrecipitationAmountConverter.ToDouble(value));
     }
     return(value);
 }
示例#2
0
 public PrecipitationAmount(string str)
 {
     Value = PrecipitationAmountConverter.ToValue(str);
 }
示例#3
0
 public PrecipitationAmount(double value)
 {
     Value = PrecipitationAmountConverter.ToValue(value);
 }