Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29173 grade: altered the definiton of round() in /lib/evalmath/ev…

…almath.class.php
  • Loading branch information...
commit 4be0947bbe63f32f38aa1698d4bbb9068d7a9dc9 1 parent 4f7f2a8
@andyjdavis andyjdavis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/evalmath/evalmath.class.php
View
4 lib/evalmath/evalmath.class.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.