Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dont want to apply any rounding/ decimal formatting in CR2013

I have a field which dynamically passes '123.22' (2 decimal) based on certain condition and same field will pass '123' (wholenumber) on certain condition.

How can i not apply any rounding/ decimal formatting in CR2013 and just show what is being passed by store procedure field.

Vishal

Tags:
Former Member
replied

Hi Vishal,

Right-click the number field on the report > Format Field > Number tab > Customize > Click the formula button beside 'Decimals' and use this code:

If CurrentFieldValue - int(CurrentFieldValue) > 0 then

2

else 0

-Abhilash

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question