[FREE / Open Source] Max/Min Value of List - My First Extension

Version 3 with more minor fixes!

3 Likes

@WatermelonIce It is a great extension!!

2 Likes

It is going to help me a lot

2 Likes

@WatermelonIce, a very good starting. Do wonders in future. All the best.

2 Likes

Thanks guys @Nisarga, @anon25683304, @Automate_My_Project :hugs:

Nice one and congratulations :watermelon: :ice_cube:
I hope that Kodular add it as inbuilt function as these small basic things helps a lot and save time and blocks.

3 Likes

Nice Extension!

1 Like

Nice extension

1 Like

Does your extension work with Date / Time format ??

My extension will work as normal number. To compare time you can just convert all to mills.

2 Likes

Great Work !! Nice Extension !! :thumbsup:

1 Like

Thank you. Nice Extension

1 Like

Thanks @Thuva @D_Apps!

2 Likes

Is there any way to get index of the biggest number with this extension?

You just subtract one from the maximum total although I don’t think that’s how App Inventor works. Try just using the maximum number as the index and if that doesn’t work then subtract one.

Let’s say that I have list like [5, 3, 1, 9]. This extension will return 9 which is biggest number. But, Is there any way to get 4 which is index of number 9?

I’m very sorry for I wasn’t online yesterday. I guess you can use the index in list. However, if the biggest number is duplicated in your list, only the first index of the biggest number will be returned.

https://docs.kodular.io/blocks/lists/#indexinlist

2 Likes