Skip to content

Commit e57c4ec

Browse files
author
William Ferguson
committed
Fix: PID 24976765 Issue WPFerg#16
1 parent 968baec commit e57c4ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/primitives/Primitives.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ Primitives.prototype.primMathFunction = function(b) {
100100
case 'log': return Math.log(n) / Math.LN10;
101101
case 'e ^': return Math.exp(n);
102102
case '10 ^': return Math.exp(n * Math.LN10);
103+
case 'floor': return Math.floor(n);
104+
case 'ceiling': return Math.ceil(n);
103105
}
104106
return 0;
105107
}

0 commit comments

Comments
 (0)