I am receiving a compiler error:
"Method xxx has parameter value of type "System.Decimal". "System.Decimal" is not a valid Windows Runtime must return only Windows Runtime types."
Is there anyway I can use a decimal? or should I just store the value as cents in an integer?
I found the easiest solution was to store it as cents in an integer.
I believe this may not work for all the currencies in the world but I am only concerned with dollars so its not an issue in this particular scenario.
An alternative is to implement a "money" pattern - http://martinfowler.com/eaaCatalog/money.html