summaryrefslogtreecommitdiff
path: root/sum2.awk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sum2.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sum2.awk b/sum2.awk
index 413f633..979d133 100644
--- a/sum2.awk
+++ b/sum2.awk
@@ -14,5 +14,5 @@ NR==1 { nf_max = NF }
END {
for (i=1; i<=NF; i++)
- printf("%.18g%s", sum[i], i < nf_max ? OFS : ORS)
+ printf(OFMT "%s", sum[i], i < nf_max ? OFS : ORS)
}