Thanks :)
Normally there's countup and countdown but they only step by integers, so I guess you'd do it manually.
var i = 1.3
while i <= 4.0:
# code
i += 0.2
Or make an iterator for it:
iterator step(low, high, step: float): float =
var i = low
while i <= high:
yield i
i += step
for i in step(1.3, 4.0, 0.2):
# some code
I dunno smth like this:
for i in countup(13, 40, 2):
let d = i / 10