Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Comma Problem

Posted on by

Hello everybody,

I am developing some plugins in CRM-Customizing in C# (Visual Studio).

Unfortunatly I get a problem by defining decimal fields (with just one comma number) because it looks better in the layout.
The problem is that also by calculation totals it doesnt take the whole number like 12.2335245  but it takes just one comma number like 12.2.
Can someone help me to solve this problem ?

Thanks in advance,

best regards

*This post is locked for comments

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: Comma Problem

    Hi,

    That is not your plugin problem but its field behaviour and you can change the Precision as per your requirement.

  • Dynamics365 Rocker Profile Picture
    Dynamics365 Rocker 7,755 on at
    RE: Comma Problem

    You will get rounding off value if you want one-two place of decimal.

  • Aminovic Profile Picture
    Aminovic on at
    RE: Comma Problem

    Hello Pranav,

    Thank for the suggestion, but I won't display the whole 10 decimal points of precision but just one (Just on Display not in calculation).

  • PranavShroti Profile Picture
    PranavShroti 4,510 on at
    RE: Comma Problem

    Hi, if these are CRM attributes (fields) then you can simply change the precision...

    docs.microsoft.com/.../dn531187(v=crm.8)

    Up to 10 decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this field. You can specify the level of precision and the maximum and minimum values. More information:  Using the right type of number

    Hope this helps !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans