Converting Bytes to bits

I have field which contains Bytes (format is selected as bytes). Have created scripted field with following script
“doc[‘bytes’].value * 8” with numerical format as “0,0.[000]a”
but unable to get output as Kb, Mb, Gb instead getting output as k, m, b.
Need help in displaying field in proper format.