float_int{f:float, i:int}
A relation generator. Can convert float f into integer i and vice-versa.
Examples
float to integer
float_int(f:=3.142)
┌───┐ │ i │ ├───┤ │ 3 │ └───┘
integer to float
float_int(i:=42)
┌───────┐ │ f │ ├───────┤ │ 42.00 │ └───────┘
bulk operation
loop(size:=5){i:=seq}(float_int)
┌──────┐ │ f │ ├──────┤ │ 0.00 │ │ 1.00 │ │ 2.00 │ │ 3.00 │ │ 4.00 │ └──────┘