Min and max functions

Hi i was asking myself if the core library have min and max function ?

It does! Check out the Math Functions in the documentation. I was just looking at that maybe 5 minutes ago to make sure I had the correct syntax for the map() function!

1 Like

thanks, i missed it :slight_smile:

I want to compare two max values. I store a max value which will then increase and I want to know by how much. i.e. temp is 25 today but tomorrow, temp is 30. So, tomorrow temp is 30/25 higher than today.