Map math division and integers

Hello @dan-hughes,

float won’t work on a whole table. You have to run it via map() on a column. Something like from(bucket: "telegraf/autogen") |> filter(fn: (r) => r._measurement == "cpu" and r._field == "usage_user") |> map(fn: (r) => ({_value: float(v: r._value)})

toFloat is what you actually want. It works on streams of tables. However, note that it will drop all other columns not part of the group key.