ecl-logo Documentation

RoundMatchQ

RoundMatchQ[n]f

generate a function that rounds its arguments to n digits using 'RoundReals', and then applies MatchQ.

Details

    Input
    Output
    General Options

Examples

Basic Examples  (3)

Returns a pure function that rounds its arguments and then applies MatchQ:

Round to three digits then apply MatchQ:

Round to five digits then apply MatchQ:

Options  (2)

Force  (2)

If 'Force' is set to its default value of False, RoundMatchQ may fail to properly round numbers inside held expressions:

Round all real numbers, even those inside expressions whose heads have attributes Hold, HoldAll, etc., before applying MatchQ: