I come from a background in C++, and I know that you cannot accurately compare floats for equality. For C#, I simply assumed the same policy applies to decimal values, or an
I think this will solve your problem.
Basically there is a decimal.compare method.
EDIT: This may be the better method:
Decimal.Equals
EDIT2: If you can compare directly as suggested above, that may be more efficient. I will leave this as it may be of interest.