public bool Equivalent(IScheminType type) { if ((type as ScheminDecimal) == null) { return false; } ScheminDecimal temp = (ScheminDecimal) type; if (this.Value == temp.Value) { return true; } return false; }