Find Minimum Value

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

Find Minimum Value

Post by Dinesh »

Hi,
I have three different values, so how to find out the minimum value. Please let me know.

For Example,

(10 , 5, 25)

Output: 5

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

Re: Find Minimum Value

Post by Lech Kulikowski »

Hello,

You can use the Minimum() function from the Dictionary.

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

Re: Find Minimum Value

Post by Dinesh »

Hi,

It's only working on two variables but I want more variable to select minimum value. Please let me know.

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

Re: Find Minimum Value

Post by Lech Kulikowski »

Hello,

In that case, you can add your own functions to the Dictionary for that task.

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

Re: Find Minimum Value

Post by Dinesh »

Hi,

Thanks for your response.
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Find Minimum Value

Post by Max Shamanov »

Hello,

You are welcome!
Post Reply