From: dpvc v. a. <we...@ma...> - 2010-01-24 22:52:43
|
Log Message: ----------- Changed warning message for decimal numbers in no-decimal modes Modified Files: -------------- pg/macros: contextFraction.pl Revision Data ------------- Index: contextFraction.pl =================================================================== RCS file: /webwork/cvs/system/pg/macros/contextFraction.pl,v retrieving revision 1.9 retrieving revision 1.10 diff -Lmacros/contextFraction.pl -Lmacros/contextFraction.pl -u -r1.9 -r1.10 --- macros/contextFraction.pl +++ macros/contextFraction.pl @@ -247,6 +247,8 @@ $context = $main::context{'Fraction-NoDecimals'} = $context->copy; $context->{name} = "Fraction-NoDecimals"; Parser::Number::NoDecimals($context); + $context->{error}{msg}{"You are not allowed to type decimal numbers in this problem"} = + "You are only allowed to enter fractions, not decimal numbers"; $context = $main::context{LimitedFraction} = $context->copy; $context->{name} = "LimitedFraction"; |