Glances TX to GB question

Good Day I have something I could use a little help on.

I am using glances and its working fine, however, I want to get the upload (tx) and download (rx) speeds to Mb/s but can’t seem to figure it out.

I tried the following with no luck any suggestions?

  resource: http://10.10.10.9:61208/api/3/network
  value_template: '{{(value_json[0].rx | multiply (1024)) | round (2) }}'

ive also tried

value_template: '{{value_json[0].rx | float / 1024}}'

and several other options as well. Not good with JSON and dont know if it what im trying to do is possibl with glances either.

I figured it out.

 value_template: '{{value_json[0].rx | filesizeformat }}'

in case anyone needs it see above.