## Forum archive 2000-2006

### Donald Behan - Answer tolerance in std_num_cmp

by Arnold Pizer -
Number of replies: 0
 Answer tolerance in std_num_cmp topic started 10/18/2001; 3:59:22 PMlast post 10/19/2001; 5:12:06 PM
 Donald Behan - Answer tolerance in std_num_cmp  10/18/2001; 3:59:22 PM (reads: 862, responses: 1) Has there been a change in this answer evaluator? I can't seem to increase the tolerance from 0.1%. For example std_num_cmp($ans,1) rejects answers that are more than 0.1% away from$ans. <| Post or View Comments |>

 Arnold K. Pizer - Re: Answer tolerance in std_num_cmp  10/19/2001; 5:12:06 PM (reads: 1072, responses: 0) Hi Don, You have found a bug in the the new version of PGanswermacros.pl distributed with WeBWorK 1.7.01. This bug is now fixed at Rochester so it should be fixed in your course. If anyone has downloaded WeBWorK 1.7.01 (it's only been available for a few days), you can get a corrected copy of Ganswermacros.pl as follows: Goto http://webhost.math.rochester.edu/downloadwebwork/, click on Experimental CVS for WeBWorK, webwork, system, courseScripts, and finally PGanswermacros.pl and then download. You will have to modify (or remove --- it really isn't needed) the first line of the file: #!/usr/local/bin/webwork-perl PGanswermacros.pl goes in the .../webwork/system/courseScripts directory. Make sure it has the same permissions as the original file. We will have a 1.7.02 distribution with this change availiable shortly. <| Post or View Comments |>