std_num_cmp

From WeBWorK_wiki
Revision as of 18:47, 18 November 2009 by Aubreyja (talk | contribs) (from ur manpages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


std_num_cmp

Description

Alias for num_cmp($ans) or num_cmp($ans, mode=>'std')

Syntax

std_num_cmp($correctAnswer, $relPercentTol, $format, $zeroLevel, $zeroLevelTol)
Only the first entry (answer) is required, the rest are optional

Params

Equivalent to

num_cmp(
$correctAnswer,
mode => 'std',
relTol => $relPercentTol,
format => $format,
zeroLevel => $zeroLevel,
zeroLevelTol => $zeroLevelTol )


O

Returns

Answer evaluator