MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php

This commit is contained in:
Andrew Davis
2012-05-22 08:30:39 +07:00
parent 4f7f2a8828
commit 4be0947bbe
+2 -2
View File
@@ -107,13 +107,13 @@ 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','floor','ceil','round');
'sqrt','abs','ln','log','exp','floor','ceil');
var $fc = array( // calc functions emulation
'average'=>array(-1), 'max'=>array(-1), 'min'=>array(-1),
'mod'=>array(2), 'pi'=>array(0), 'power'=>array(2),
'round'=>array(1, 2), 'sum'=>array(-1), 'rand_int'=>array(2),
'rand_float'=>array(0));
'rand_float'=>array(0), 'round'=>array(2));
var $allowimplicitmultiplication;