cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Round decimals to nearest integer

Former Member
0 Likes
6,003

Hello,

I have a Webi report based on a BEx query and what I need to do is round some decimal numbers to the nearest integer.

For ex.

0.033 -> 1

0. 2    -> 1

0.5     -> 1


I tried with Round() function and FormatNumber() but it's not working.

I'm using BOBJ 4.1 SP5 Patch 2.

Regards,

Ara

View Entire Topic
Former Member

Use the CEIL function, this rounds up to the nearest integer, as per your example.

NMG