float Model
Modelsfloat
float Model
Defines a model to enforce validation for float data.
model: float
Configuration (* required)
model: float
const
Specifies the model is a float
.
format
enum
[binary
,text
] | Default:text
The format for the number.
multiple
number
Restrict the number to a multiple of a given number.
range
string
| Pattern:((?:\\(|\\[))(-?\\d+(?:\\.\\d+)?)?,(-?\\d+(?:\\.\\d+)?)?((?:\\)|\\]))
An allowed range of values for the number.
range
string
| Pattern:((?:\\(|\\[))(-?\\d+(?:\\.\\d+)?)?,(-?\\d+(?:\\.\\d+)?)?((?:\\)|\\]))