Accessing jsonarray values

i’m trying to put the ratio of two jsonarray values into a third row, but i can’t seem to get it working. any idea?

here’s a basic example:

How about this?

got it to work! thanks for the super quick response. here’s the formula i ended up with in case others are curious:

array[0]['number1'].to_f / array[0]['number2'].to_f

1 Like