Switch node not Consistent

err - no ... string wise you are comparing 1m with 10 and in the ascii table for characters the value for 0 comes before m so 10 is less than m... etc... You must convert them to real numbers if you want to do real maths.

OK. That makes sense. No wonder why I was confused. I just converted everything to milliseconds and it seems to be working. Thank you for explaining. I'm not very good with programming and understanding strings versus numbers. Especially when the string contains numbers. Numbers need to be treated as numbers. Got it. I'll remember that. :laughing:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.