xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ofmtstrnum.awk (revision e6d6c189fa3a95d7aa27bbe0aeacf7c1a6b57c8c)
1*e6d6c189SCody Peter MelloBEGIN {
2*e6d6c189SCody Peter Mello	split(" 1", f, "|")
3*e6d6c189SCody Peter Mello	OFMT = "%.1f"
4*e6d6c189SCody Peter Mello	print f[1]
5*e6d6c189SCody Peter Mello	x = f[1] + 0
6*e6d6c189SCody Peter Mello	print f[1]
7*e6d6c189SCody Peter Mello}
8