public static double GetRealDouble(string type, int value) { if (type == PrecipitationAmount.TypeName) { return(PrecipitationAmountConverter.ToDouble(value)); } return(value); }
public PrecipitationAmount(string str) { Value = PrecipitationAmountConverter.ToValue(str); }
public PrecipitationAmount(double value) { Value = PrecipitationAmountConverter.ToValue(value); }