Is there any default value for "Decimal" Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 03:21 AM
Hi All,
Is there any default value for "Decimal" field. For me it is taking the default value as "0", even if I make the value to empty through scripts, it is showing the value as "0" only. Can you please confirm is there any default value for the decimal field.
TIA,
Surya. P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 03:46 AM
There is no Default value for decimal field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 04:39 AM
Hi Vivin,
Thank you so much for the confirmation. But when I tried to clear the value on the Decimal field and get the value of it using Logs, it shows "0" on it. It is happening for all the decimal values we have. Is there any OOB functionality which is making it to "0"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 01:09 AM
Hi Surya,
This can be controlled using Attributes on the field. You need to create a format attribute and set it to none as shown below. Open the fields dictionary entry and click on the Attributes Related list and add it there.
That will stop it defaulting to zero, you can read about it here. It works on all numeric fields e.g. integer, decimal:
If helpful/correct please mark as correct.
Regards
Paul