Another subtle glitch: when supplying Currency as a second argument to Money ctor, that arg gets overridden. I think it's the order of constructor calls that matters.
Id #3629 | Release:
| Updated: Feb 13 at 7:11 PM by esteewhy | Created: May 8, 2009 at 4:10 PM by esteewhy
Hello, great work! Found you at CodeProject first, than saw the code here, started using it and found some issues worth mentioning:
-- I'd like to persist Money type as a string in a custom forma...
Id #3628 | Release:
| Updated: Feb 13 at 7:11 PM by esteewhy | Created: May 8, 2009 at 2:21 PM by esteewhy
operator * and operator / both ignore the Currency of the amount being modified and return a Money for the current culture. Code should be
public static Money operator *(Money left, Decimal ...
Id #3437 | Release:
| Updated: Feb 13 at 7:11 PM by Marchy | Created: Mar 24, 2009 at 1:36 AM by PaulLinton
When reviewing your code I found that no matter what currency is set on the Money object, it gets ignored when calling ToString(), being always the currency corresponding the current Culture. I...
Id #2388 | Release:
| Updated: Feb 13 at 7:11 PM by berryl | Created: Sep 29, 2008 at 8:42 PM by dgon