I have found similar topics but nothing that covers my problem.
If I run List.Count to Range I don’t get trailing zeros, however when I do a Math.Sum in between the two I get trailing zeros.
I figured out a solution by converting to string, split, then string to integer. But that feels like a bit extra.
Just go straight to integer. The issue is that your numbers are doubles (even if you don’t see it), so when they convert to strings the trailing zeros come too. Use a Math.Floor()
node to convert them directly to integers. Integers won’t add any trailing zeros.
2 Likes
Thanks Math.Floor() worked! I need to figure out how to remember all these helpful nodes.
So many I forget about and even more to learn!