Round Function

Stimulsoft Reports.JS discussion
Post Reply
Dinesh
Posts: 10
Joined: Wed Feb 16, 2022 3:33 am

Round Function

Post by Dinesh »

Hi,

I there any possibility how to use function Round in report designer for rounding decimal on midpoint?

Now: Round(65427.1315036092,2) = 65427.13
I want Result: Round(65427.1315036092,2) = 65427.14

Thank you.
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Round Function

Post by Lech Kulikowski »

Hello,

You can use the Ceiling function:
{Ceiling(65427.1315036092*100)/100}

Thank you.
Dinesh
Posts: 10
Joined: Wed Feb 16, 2022 3:33 am

Re: Round Function

Post by Dinesh »

Hi,

Thanks for your response. It's working fine.

Thank you.
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Round Function

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply