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 6:11 PM by esteewhy | Created: May 8, 2009 at 3: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 6:11 PM by esteewhy | Created: May 8, 2009 at 1: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 6:11 PM by Marchy | Created: Mar 24, 2009 at 12: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 6:11 PM by berryl | Created: Sep 29, 2008 at 7:42 PM by dgon