# Round Up to Nearest Hundred

Hi,

Let say, I made some calculation in math column for \$597,471.
I want it to be \$597,500

or \$12,963 and I want it to be \$13,000.

How to make it rounded?

Divide the value by 100, wrap it with a floor(), then multiply that by 100.

Floor(X/100)*100

5 Likes
4 Likes

@Manu.n & @Jeff_Hager
Perfect!
Thank you!

2 Likes

But I noticed , if \$291,297 it will become \$291,200. It should be \$291,300 right ?
Do you have any idea why ?

yes we followed your example, so rounding down, if you want you can use “ceil” for rounding up
or “round”

2 Likes

Maybe because your requirements were confusing?
You asked how to round up, but then the two examples you gave were rounded down.
Now it appears that you want to round to the nearest.

So which is it?

3 Likes

I think “round” is your solution

3 Likes

Yes yes. Right . My example was wrong. So if round up use round(x/100)*100?

1 Like

Thank you!
@Darren_Murphy @Manu.n

Yeah, I’d suggest Round. Perfect 2 Likes

Hi,

I noticed when I am using round(x/100)*100,