Adjust listview values

I did a multiplication between the list values, but some are less than 0, which I want to ignore and need to be shown as 0, how to do?

I’m not sure about in Classic but in Thunkable X, you can either do an if [value]<0 set value to 0… or you can use the constrain block to constrain the value to 0 to 999999 (or some other high value).

You can use the MAX function, like so:

image

if A1 * A2 is negative, then 0 is bigger, and the MAX function will substitute 0 for the lesser result.

(of course, since you are using a list, you will have to replace A1, A2 and result with indexed list entries, but the logic remains the same)