Printing outputs using awk.

I have a output of a command like this.

the command is : bdf|sed '/^e/d'|awk '{print$2/1048576}'
output :
0
0.515625
0.481979
2
2
2
7.8125
4
2
0.488281
7.8125
3.90625
4
1.95312
1
0.488281
15.625
7.8125
5.85938
0.20417
0.00119781
0.000595093
0.000587463
0.000587463
0.835808
0.206657
0.72831
0.000587463
0.000602722
0.000587463
1.73286
79.8446
6.20604
0.00723267
4.98518

i want to print only 2 digits after . please let me know how to do that?

thanks.

printf("%.2f\n", $2/1048576)

The command worked great..but there is a slight change in the command ie; printf will also come inside the brazes.

thanks.

Thanks mates both the commands are working.

sed 's/^.*\.\(..\)\(.*\)/\1/' filename