--- loncom/homework/default_homework.lcpm 2008/09/13 02:08:32 1.140 +++ loncom/homework/default_homework.lcpm 2008/09/27 07:26:45 1.141 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # used by lonxml::xmlparse() as input variable $safeinit to Apache::run::run() # -# $Id: default_homework.lcpm,v 1.140 2008/09/13 02:08:32 raeburn Exp $ +# $Id: default_homework.lcpm,v 1.141 2008/09/27 07:26:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -320,7 +320,7 @@ sub caparesponse_check_list { $element =~ s/\s//g; } my $appendunit=$unit; - if ($unit=~/\%/) { + if (($unit=~/\%/) && ($answerunit ne '%')) { $element=$element/100; $appendunit=~s/\%//; }