DoubleRule
A rule that tests the double value.
Return
Creates a new instance of DoubleRule.
Parameters
predicate
The predicate to test the double value. Returns true if the test passes; false otherwise.
message
The message to return when the test fails.