Skip to contents

A numerical answer question with an exact answer

Usage

answer_num(value, tol = 0)

answer_num_precision(value, precision = 0L)

answer_num_range(lower, upper = lower)

Arguments

value

The correct numerical answer.

tol

The acceptable error margin for the answer. Defaults to 0 for an exact answer.

precision

The number of decimal places the answer must be correct to.

lower

The lower bound of the acceptable answer range.

upper

The upper bound of the acceptable answer range.