From 0b440328e24dc45c187363f065fd4e6ec7e8cb1c Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 20 Dec 2011 12:15:52 -0500 Subject: GradeBook_lib: two digit after decimal plot in show of calculated columns --- GradeBook_lib.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index f6317db..dcdbb50 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -873,7 +873,7 @@ proc htmlDBout {db permission_list user {sort_col {}}} { set col_value_letter_grade [number2letter_grade $col_value] } # promote to percent format - set col_value [format "%04.1f%%" [expr {100.* $col_value} ] ] + set col_value [format "%04.2f%%" [expr {100.* $col_value} ] ] # add letter grade to Grand Total if { $index eq "Grand Total" } { set col_value [ concat $col_value "=" $col_value_letter_grade ] -- cgit v1.2.3