Difference between revisions of "Strict num cmp"
Jump to navigation
Jump to search
(from ur manpages) |
(change title display) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:strict_num_cmp}} |
||
===strict_num_cmp=== |
===strict_num_cmp=== |
||
Latest revision as of 19:53, 18 November 2009
strict_num_cmp
Description
Alias for
num_cmp($ans, mode=>'strict')
. Only numbers are allowed. No fractions, no arithmetic operations, no function evaluation.
Syntax
strict_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 => 'strict',
relTol => $relPercentTol,
format => $format,
zeroLevel => $zeroLevel,
zeroLevelTol => $zeroLevelTol )
Returns
An answer evaluator