Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 14, 2015 at 09:37 AM

    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

    Add comment
    10|10000 characters needed characters exceeded