summaryrefslogtreecommitdiffstats
path: root/test/04-function-pi-int.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/04-function-pi-int.txt')
-rw-r--r--test/04-function-pi-int.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/04-function-pi-int.txt b/test/04-function-pi-int.txt
new file mode 100644
index 0000000..2d59ba3
--- /dev/null
+++ b/test/04-function-pi-int.txt
@@ -0,0 +1,11 @@
+%mode init
+A1=INT(PI()*100000)
+B1=INT(7.89)
+C1=INT(-23.45)
+%calc
+%mode result
+A1=314159
+B1=7
+C1=-24
+%check
+%exit