cancel
Showing results for 
Search instead for 
Did you mean: 

Dont want to apply any rounding/ decimal formatting in CR2013

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

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

Answers (0)