List Total Quick Question

Hello, is there a way to add all of the numerical values up in a list and total them out.

Hi @Kieran_Atherton
are you trying to get the sum of the list?

Yes but when i have tried the math.sum node i get a null value ?

can you feed your list to Object.Type node ? just to make sure you’re working with the right type of data…

No it is still not giving me the total value:

Tonnage.dyn (12.6 KB)

Very strange … It should work with doubles :

Right i sorted it, i had to close it down and run the script again. Thank you for your help Mostafa !!

No problem :slight_smile: