ref: d133a4306688e51df959da814d48f10f33cad23a
dir: /test/t.fmt/
{
for(x=1; x<=NF; x++){
i = 0
OFMT = CONVFMT = "%.6f"
a[i] = (0+$x) / 3.14
a[i+1] = ((0+$x) / 3.14) "_"
a[i+2] = a[i] "_"
i += 3
OFMT = "[%.3f]"
a[i] = (0+$x) / 3.14
a[i+1] = ((0+$x) / 3.14) "_"
a[i+2] = a[i] "_"
i += 3
CONVFMT = "(%.3f)"
a[i] = (0+$x) / 3.14
a[i+1] = ((0+$x) / 3.14) "_"
a[i+2] = a[i] "_"
i += 3
OFMT = "{%.10g}"
a[i] = (0+$x) / 3.14
a[i+1] = ((0+$x) / 3.14) "_"
a[i+2] = a[i] "_"
i += 3
CONVFMT = "|%.10g|"
a[i] = (0+$x) / 3.14
a[i+1] = ((0+$x) / 3.14) "_"
a[i+2] = a[i] "_"
i += 3
print a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8], a[9], a[10], a[11], a[12], a[13], a[14], a[15]
delete a
}
}