aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/commas.awk4
-rw-r--r--test/commas.ok2
2 files changed, 6 insertions, 0 deletions
diff --git a/test/commas.awk b/test/commas.awk
new file mode 100644
index 00000000..1013b9cb
--- /dev/null
+++ b/test/commas.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ printf("%'d\n",123456789)
+ printf("%'f\n",123456789)
+}
diff --git a/test/commas.ok b/test/commas.ok
new file mode 100644
index 00000000..3d4d96a1
--- /dev/null
+++ b/test/commas.ok
@@ -0,0 +1,2 @@
+123,456,789
+123,456,789.000000