public double?GetDoubleValue() { if (EntryValue == null || EntryValue.Equals(@"")) { return(null); } double rtnValue = 0.0; if (double.TryParse(EntryValue, out rtnValue)) { return(rtnValue); } return(null); }