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