web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to Remove commas from whole number field .

(0) ShareShare
ReportReport
Posted on by

HI,

I am creating new field "year of graduation". data type "Whole number'. I change the number format also.

but it again shows commas . So how can i remove commas from whole number field.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: How to Remove commas from whole number field .

    Unfortunately there isn't any way of formatting an integer outside of the user's formatting settings. So if you wanted this number without commas then all number would have to be without them.

    I suggest you create a text field and add some javascript validation to it. If you need it in report criteria etc. then you could create a backing field of numeric type that gets set by the text value.

    Hope this helps,

    Scott

  • Solutions Profile Picture
    5 on at
    RE: How to Remove commas from whole number field .

    Hi Viswanadh ..Go to Settings >Click on System Settings>Click on Format>Select the country Currency>Click on Customize ...  I Think It helps.

  • Suggested answer
    shivaram Profile Picture
    3,315 on at
    RE: How to Remove commas from whole number field .

    Hi Viswanath,

    Try following one.

    Go to settings-->Formats-->Customize-->Change the Digit Group Format.0435.Screenshot_5F00_6.png

    0435.Screenshot_5F00_6.png

    3250.Screenshot_5F00_7.png

    Hope this helps you.

    Thank you,

    Shiva.

  • Suggested answer
    Jharana Baliyar Singh Profile Picture
    2,667 on at
    RE: How to Remove commas from whole number field .

    Hi Viswa,

    If you want to do this for all forms then go for Options->Formats tab->Digit Group.It will change the format for each & every fields present in the CRM form,but it will affect only for new users, but won't reflect for existing users for that you have to change user settings.

    Otherwise, if u want to go for specific field then you have to create a text field & write javascript code for that .

    Please have a look in to below links:

    community.dynamics.com/.../151926

    stackoverflow.com/.../crm-2013-to-remove-comma-from-whole-number-field

    https://ashwaniashwin.wordpress.com/2013/02/17/whole-number-format-in-dynamics-crm-2011/

    Thanks,

    Jharana

  • Suggested answer
    JayeshAC Profile Picture
    1,157 on at
    RE: How to Remove commas from whole number field .

    Hi Viswanadh,

    you need to change the format inside the personal settings.

    Options>>Format>>Click Customize Personal Setting>>Numbers

    Hope this helps.

  • Suggested answer
    Vipin J Profile Picture
    1,603 on at
    RE: How to Remove commas from whole number field .

    I created a web-resource as I was restricted not to changed the personalization and not to create any other text field.

    Here is code and detail explanation

    https://vjcity.blogspot.com/2020/10/remove-comma-from-number-fields-in.html

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans