--- loncom/homework/simpleproblem.problem 2006/02/06 23:55:03 1.8 +++ loncom/homework/simpleproblem.problem 2009/08/17 14:19:56 1.9 @@ -18,6 +18,16 @@ $stringanswer=&EXT('resource.0.stringans unless ($stringanswer) { $stringanswer=''; } $stringtype=&EXT('resource.0.stringtype'); unless ($stringtype) { $stringtype='cs'; } +$numericalanswer=&EXT('resource.0.numericalanswer'); +unless ($numericalanswer) { $numericalanswer=''; } +$numericaltolerance=&EXT('resource.0.numericaltolerance'); +unless ($numericaltolerance) { $numericaltolerance='5%'; } +$numericalsigfigs=&EXT('resource.0.numericalsigfigs'); +unless ($numericalsigfigs) { $numericalsigfigs='1,15'; } +$numericalunits=&EXT('resource.0.numericalunits'); +unless ($numericalunits) { $numericalunits=''; } +$numericalformat=&EXT('resource.0.numericalformat'); +unless ($numericalformat) { $numericalformat=''; } @@ -130,6 +140,22 @@ unless ($stringtype) { $stringtype='cs'; + + +&EXT('resource.0.questiontext')
+ + + + + + +&EXT('resource.0.hinttext') + + +
+