--- loncom/homework/simpleproblem.problem 2005/02/28 20:39:05 1.7 +++ loncom/homework/simpleproblem.problem 2009/08/17 18:18:35 1.10 @@ -18,6 +18,18 @@ $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=''; } +$numericalscript=&EXT('resource.0.numericalscript'); +unless ($numericalscript) { $numericalscript=''; } @@ -29,9 +41,9 @@ unless ($stringtype) { $stringtype='cs'; + &EXT('resource.0.questiontext')
- @@ -72,6 +84,7 @@ unless ($stringtype) { $stringtype='cs'; +&EXT('resource.0.questiontext')
@@ -112,12 +125,14 @@ unless ($stringtype) { $stringtype='cs';
+&EXT('resource.0.questiontext')
+&EXT('resource.0.questiontext')
@@ -127,6 +142,22 @@ unless ($stringtype) { $stringtype='cs';
+ + +&EXT('resource.0.questiontext')
+ + + + + + +&EXT('resource.0.hinttext') + + +
+