function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Teach_me_howTeach_me_how 

Remove decimal character in number field?

users dont want to see the decimal "," character in one of our number field (8,0). how can i achieve this without changing the field type or adding new field

liron169liron169

If you are using your own visualforce page you can use function ROUND(fieldName, 0) when showing the field.

If they see it in the SF layout, then I don'y think you can't without changing the field/adding new one.

 

IN my opinion, the best solution is to add formula field that show the number rounded, and present this formula field instead.