WeBWorKdocs

sq_webwork:


Home
Current UR
courses
Visitor
page
Intro to
WeBWorK
WeBWorK 2
Twiki
WW
Community
Grant Support
& awards
Discussion
group
Problem
library
Write/modify
problems
Create &
manage course
Tutorial on
running a course
HowTos
FAQ
WeBWorK2
FAQ
Software
Download
How to
Install WW server
Feedback
Site Map
Change
preferences
Change
password





Prev | Next | manpages

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

See Also

num_cmp -- the new replacement for this macro

<| Post or View Comments |>


Prev | Next | manpages

Last update: Wednesday, January 10, 2007 at 10:26:47 PM.
This site maintained using Manila and Frontier software.