From fcc6d69982e50fa016b445aa2fbc7f6a2abb7eca Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 12 Jan 2023 18:50:50 +0100 Subject: [PATCH] Fix percentage value display for remote score --- app/controllers/remote_evaluation_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/remote_evaluation_controller.rb b/app/controllers/remote_evaluation_controller.rb index aea0f369..970844a3 100644 --- a/app/controllers/remote_evaluation_controller.rb +++ b/app/controllers/remote_evaluation_controller.rb @@ -38,7 +38,7 @@ class RemoteEvaluationController < ApplicationController process_lti_response(lti_response) else { - message: "Your submission was successfully scored with #{@submission.normalized_score}%. " \ + message: "Your submission was successfully scored with #{@submission.normalized_score * 100}%. " \ 'However, your score could not be sent to the e-Learning platform. Please check ' \ 'the submission deadline, reopen the exercise through the e-Learning platform and try again.', status: 410,