-
Initializes a
FloatRule
object to validate that the text of a field is a floating point number.Declaration
Swift
public init(message: String = "must be a number with or without a decimal point.")
Parameters
message
String of error message.
Return Value
An initialized object.