-
Initializes a
FloatRuleobject 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
messageString of error message.
Return Value
An initialized object.
View on GitHub
FloatRule Class Reference