Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM Online : decimals shown

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I got a request to have a number with 2 decimals places.

However, when the digits behind the separator are 00, they should not be visible in the form.

So 12,25 should be displayed as 12.25 but 12.00 should be displayed as 12

To my knowledge, this is not easily possible. The only way, I can come up with handling this, is using a text field, and the necessary amount of javascript to format whatever is inputted in the text field..

Does anyone know any other option?

*This post is locked for comments

  • Somesh2207 Profile Picture
    Somesh2207 1,563 on at
    RE: CRM Online : decimals shown

    Okay sounds like a good decision. If it doesn't add value, no need to put so much efforts. It is important sometimes to make customer understand and adjust to the platform rather than customizing it endlessly.

    If our suggestions helped you, you can mark it as Verified to close this thread. Thanks

  • Birgit RD Profile Picture
    Birgit RD 2 on at
    RE: CRM Online : decimals shown

    We decided not to do anything for the request currently.

    We still need the test feedback of the people who will work with the application daily.

    So far, the feedback came from the sales division.

    Effort/cost wise this will not bring anything extra to the users.

  • Suggested answer
    Somesh2207 Profile Picture
    Somesh2207 1,563 on at
    RE: CRM Online : decimals shown

    HI Birgit,

    It is not possible. The only thing I would like to suggest is if is only on the form:

    1. use a new HTML field and have the HTML Field format using JavaScript to avoid creating a new field.

    If it is also used in Views and other places, then you may need to use plugin to do the formatting on change of the original field rather than JavaScript because the original decimal field may be changed by other operations outside of Form. Kindly consider the above to avoid re-work at later stage.

    Happy CRMing.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM Online : decimals shown

    Hi,

    no it is the only option. Sorry :(

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans