vertx / io.vertx.rxjava.ext.web.api.validation / ParameterTypeValidator / createFloatTypeValidator

# createFloatTypeValidator

`open static fun createFloatTypeValidator(defaultValue: Float): ParameterTypeValidator`

Create a new type validator for float values

### Parameters

`defaultValue` - Default value that will be set if parameter is empty or not found. To apply default value you have to set `io.vertx.rxjava.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return

`open static fun createFloatTypeValidator(maximum: Double, minimum: Double, multipleOf: Double, defaultValue: Float): ParameterTypeValidator`

Create a new type validator for float values

### Parameters

`maximum` - Maximum value. It can be null

`minimum` - Minimum value. It can be null

`multipleOf` - Multiple of value. It can be null

`defaultValue` - Default value that will be set if parameter is empty or not found. To apply default value you have to set `io.vertx.rxjava.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return

`open static fun createFloatTypeValidator(exclusiveMaximum: Boolean, maximum: Double, exclusiveMinimum: Boolean, minimum: Double, multipleOf: Double, defaultValue: Any): ParameterTypeValidator`

Create a new type validator for float values

### Parameters

`exclusiveMaximum` - If true, value will be mark as valid if value < maximum. If false, value will be mark as valid if value <= maximum. The default value is false. It can be null

`maximum` - Maximum value. It can be null

`exclusiveMinimum` - If true, value will be mark as valid if value > minimum. If false, value will be mark as valid if value >= minimum. The default value is false. It can be null

`minimum` - Minimum value. It can be null

`multipleOf` - Multiple of value. It can be null

`defaultValue` - Default value that will be set if parameter is empty or not found. To apply default value you have to set `io.vertx.rxjava.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return