
Anonymous
Not applicable
2018-06-04
05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to restrict values to 2 decimal points without rounding it off?
Hi,
I need to restrict the values on a table upto 2 decimal points with rounding off the values.
Ex: if value = 0.556, I need the value as 0.55 and not 0.56.
I tried using the Floor(value, 0.01) function and Left(Value,4), But these functions doesn't give the desired output.
- Am also suppressing the null values that is one of the reasons am facing issue.
Can anyone please help me out here?
Thanks
2,799 Views
4 Replies

MVP
2018-06-04
10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would you be able to share a sample where you have this problem?
2,711 Views
2018-06-04
11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Floor() will helps you. Can you share image?
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
2,711 Views


Partner - Contributor II
2018-06-05
12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!!
Try using this
num(expression,'#,##.##');
or
num(expression,'#,##.00');


Specialist II
2018-06-05
06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
floor(0.556, 0.01) gives 0.55
what's wrong for you ?
regards
