I am just wondering if anyone knows of an online file that can be accessed from JavaScript or C# that contains up-to-date currency conversion rates on a daily basis, for example CAD ($) TO GBP (£)? Or any other method of achieving this goal?
Example code containing the hard-coded conversion rate:
if (entity.Currency == "CAD ($)")
{
entity.UnitPrice = Convert.ToDecimal(entity.UnitPrice) * (decimal)0.524238;
entity.Currency = "GBP (£)";
}