MDL-67151 core_question: Support scientific format at question preview

This commit is contained in:
Shamim Rezaie
2019-12-03 16:57:41 +11:00
parent 481ad40e0e
commit bb511f30d6
2 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -806,7 +806,7 @@ function question_preview_url($questionid, $preferredbehaviour = null,
}
if (!is_null($maxmark)) {
$params['maxmark'] = format_float($maxmark, strlen($maxmark), true, true);
$params['maxmark'] = format_float($maxmark, -1);
}
if (!is_null($displayoptions)) {