Mismatch between form value and Plugin code for Currency field RRS feed

  • Question

  • Hi,

    There is a Currency field on form in CRM 2015.

    When i get the value of this currency field in Plugin code,the value got change like if there is a value of 1200000 in form then in code its showing like 1199998.47 something. The currency is Hungarian.

    What may be the issue here ? Please help.

    Wednesday, April 6, 2016 9:45 AM

All replies

  • Are you looking at the currency field in the provided currency, or the _base field that has the value converted to the base currency ? For the latter, I would expect behaviour like this, as you may get rounding errors when the exchange rate is applied

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Thursday, April 7, 2016 1:42 PM
  • Hi,

    I am looking for the currency field, not that _base field. Dont know why in code the value change for this Forint (Hungarian) currency only.

    For other currency, it looks file.

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Thursday, April 7, 2016 2:48 PM