I hate to put such a dumb question to the list, but I'm going nuts
trying to do something that ought to be simple.
I am using a QT Number Sink to display dB values in float format. It is
showing many more decimal places than have any meaning. I'd like to
round the display to one or two decimal places.
I tried making an embedded python block to do the rounding and finally
succeeded (it was a long and painful process, and frankly I don't
understand why I had to do what I did to get it to work), but the number
sink is still printing all the extra decimal places, they're just now
set to zero.
Is there any trick to round or even just truncate the number of decimal
places shown in the QT Number Sink?
Thanks,
John
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio