public bool Equals(NullableDouble x)
		{
			return Equals(this, x);
		}
		public static bool Equals(NullableDouble x, NullableDouble y)
		{
			if (x.HasValue != y.HasValue) //one is null
				return false;
			else if (x.HasValue) //therefor y also HasValue
				return x.Value == y.Value;
			else //both are null
				return true;
		}
Ejemplo n.º 3
0
 public void NullableConversion(Nullables.NullableDouble amount)
 {
     RenderText(String.Format("incoming {0} {1}", amount.HasValue, amount.ToString()));
 }