Float To Int gr_float_to_int from gnuradio import gr gr.float_to_int($vlen, $scale) set_scale($scale) Vec Length vlen 1 int Scale scale 1 real in float $vlen out int $vlen