converter2
converter floatToInt(x: float): int =
x.toInt
iterator countupn(a, b: int): int =
var res = a
while res <= b:
yield res
inc(res)
var x = 4.3
for _ in countupn(1, x):
echo("Test")
INFO
converter floatToInt(x: float): int =
x.toInt
iterator countupn(a, b: int): int =
var res = a
while res <= b:
yield res
inc(res)
var x = 4.3
for _ in countupn(1, x):
echo("Test")