Multiplication of a list by dictionary value gives null result

I am trying to multiply a list of volumes calculated in dynamo by their density found using a dictionary value, however, it gives a null result. I know in Matlab when you multiply an array by a constant, you have to use .* but I don’t know the dynamo equivalent. Any help would be much appreciated, see the code below.

Hello, plug in a type object at the end of your watch to see if it’s a double

Cordially
christian.stan

Have you checked the types? Maybe one is not a number

1 Like

Ahhh it was a string, not a number. I have fixed it now, thanks for the help!

1 Like