NOBUG added floor, ceil and round to evalmath.class.php and added

tests.
This commit is contained in:
Jamie Pratt
2011-06-23 12:33:40 +01:00
committed by Tim Hunt
parent 950dc9145b
commit f271a66776
3 changed files with 61 additions and 1 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ class EvalMath {
'sin','sinh','arcsin','asin','arcsinh','asinh',
'cos','cosh','arccos','acos','arccosh','acosh',
'tan','tanh','arctan','atan','arctanh','atanh',
'sqrt','abs','ln','log','exp');
'sqrt','abs','ln','log','exp','floor','ceil','round');
var $fc = array( // calc functions emulation
'average'=>array(-1), 'max'=>array(-1), 'min'=>array(-1),