How to convert a crm decimal to crm money RRS feed

  • Question

  • I have one more doubt

    Consider i have a CRMDecimal a=444.3200000

    I just want to omit the zero's and need a=444.32


    Pl help me on this .If i try to convert it to money i cant.


    do we have any other way to determine the floating pts in decimal

    Friday, December 30, 2011 2:39 PM

All replies

  • Hi Krishnan

     you can control the precision of the Attribute of the type CRMDecimel

      Go the customisation and open the entity open the attribute change the precision

    Pls see the attach image




    If the problem is resolved, we would appreciate a post explaining the resolution and mark the post answered and close the thread.


    • Proposed as answer by Philippe LEAL Monday, January 2, 2012 10:17 AM
    Friday, December 30, 2011 3:10 PM
  • Dear Crm_developer,

    i NEED to do that in code.Not in API.i am comparing the thing in query expression.Thanks

    Thursday, January 12, 2012 1:28 PM
  • Hi Krishnan,

    You can use Money money = new Money(a.Value);


    Thursday, February 23, 2012 11:55 PM