mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-68211 feedback: Export percentage format
The feedback was exporting the percentage in the Analysis file using a wrong value for the format, so instead of having only 2 decimals, the number was not formatted.
This commit is contained in:
parent
9557a52569
commit
41a5833327
@ -73,7 +73,7 @@ $xlsformats->head1 = $workbook->add_format(['bold' => 1, 'size' => 12]);
|
||||
$xlsformats->head2 = $workbook->add_format(['align' => 'left', 'bold' => 1, 'bottum' => 2]);
|
||||
$xlsformats->default = $workbook->add_format(['align' => 'left', 'v_align' => 'top']);
|
||||
$xlsformats->value_bold = $workbook->add_format(['align' => 'left', 'bold' => 1, 'v_align' => 'top']);
|
||||
$xlsformats->procent = $workbook->add_format(['align' => 'left', 'bold' => 1, 'v_align' => 'top', 'num_format' => '#,##0.00%']);
|
||||
$xlsformats->procent = $workbook->add_format(['align' => 'left', 'bold' => 1, 'v_align' => 'top', 'num_format' => '#,##0.00']);
|
||||
|
||||
// Writing the table header.
|
||||
$rowoffset1 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user