summaryrefslogtreecommitdiff
path: root/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Trunc.sci
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Trunc.sci')
-rwxr-xr-xtexmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Trunc.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Trunc.sci b/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Trunc.sci
new file mode 100755
index 00000000..b4705593
--- /dev/null
+++ b/texmf-dist/scripts/ketpic/ketlib/ketpicscifiles6/Trunc.sci
@@ -0,0 +1,10 @@
+// 08.05.20
+
+function N=Trunc(X)
+ if X>=0
+ N=floor(X)
+ else
+ N=ceil(X)
+ end
+endfunction
+