summaryrefslogtreecommitdiffstats
path: root/test/07-fraction-numbers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/07-fraction-numbers.txt')
-rw-r--r--test/07-fraction-numbers.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/07-fraction-numbers.txt b/test/07-fraction-numbers.txt
new file mode 100644
index 0000000..852edba
--- /dev/null
+++ b/test/07-fraction-numbers.txt
@@ -0,0 +1,12 @@
+%% Test parsing and interpretation of fractional numbers.
+%mode init
+A1=25.6+10.56-0.987
+A2=2.5+3.2
+A3=3.5*(2.3+7.567)
+%calc
+%mode result
+A1=35.173
+A2=5.7
+A3=34.5345
+%check
+%exit