aboutsummaryrefslogtreecommitdiffstats
path: root/test/numstr1.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/numstr1.awk')
-rw-r--r--test/numstr1.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/numstr1.awk b/test/numstr1.awk
new file mode 100644
index 00000000..e58404fc
--- /dev/null
+++ b/test/numstr1.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ split("1.234", f)
+ OFMT = "%.1f"
+ print f[1]
+ x = f[1]+0
+ print f[1]
+}