github.com/benhoyt/goawk@v1.8.1/testdata/gawk/ofmtstrnum.awk (about) 1 BEGIN { 2 split(" 1", f, "x") 3 OFMT = "%.1f" 4 print f[1] 5 x = f[1] + 0 6 print f[1] 7 }