Ranges can be defined in code blocks. One of the ways to do is to specify a start value, the end value and a step value:
But what if the end value is not divisible by the step value? In that case you will not reach the end value, so the end value will not be included in the list. In the following example I’m creating a range between 0 and 500 with a step value of 80. The list ends with the value 480…
What to do if you really want to have 500 in the list?
In that case you can tell Dynamo that he can deviate, if necessary, the step value a little bit, to evenly fill in the range with equal values: