Money(decimal, Currency) ignores second argument

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: None | Updated: Feb 13, 2013 at 7:11 PM by esteewhy | Created: May 8, 2009 at 4:10 PM by esteewhy

Code (re)usability improvements

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: None | Updated: Feb 13, 2013 at 7:11 PM by esteewhy | Created: May 8, 2009 at 2:21 PM by esteewhy

Multiply and divide ignore the Currency

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: None | Updated: Feb 13, 2013 at 7:11 PM by Marchy | Created: Mar 24, 2009 at 1:36 AM by PaulLinton

Formatting errors

Hi, 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: None | Updated: Feb 13, 2013 at 7:11 PM by berryl | Created: Sep 29, 2008 at 8:42 PM by dgon

  • 1-4 of 4 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items