格式 printf(format,value1,value2...)
#awk '{printf("total pay for %s is $%.2f ",$1,$2,$3)}' emp.data
total pay for Beth is $4.00
total pay for Dan is $3.75
total pay for Kathy is $4.00
total pay for Mark is $5.00
total pay for Mary is $5.50
total pay for SUsie is $4.25