xref: /illumos-gate/usr/src/test/util-tests/tests/awk/bugs-fixed/string-conv.awk (revision ed093b41a93e8563e6e1e5dae0768dda2a7bcc27)
1BEGIN {
2	OFMT = ">>%.6g<<"
3        a = 12.1234
4	print "a =", a
5        b = a ""
6        print "1 ->", b
7        CONVFMT = "%2.2f"
8        b = a ""
9        print "2 ->", b
10        CONVFMT = "%.12g"
11        b = a ""
12        print "3 ->", b
13}
14