| << mustBeFinite | Validators | mustBeFolder >> |
| mustBeFloat(var) |
| mustBeFloat(var, argPosition) |
| C++: void mustBeFloat(const ArrayOfVector& args, int argPosition) |
a variable: all supported types and classes that implement isfloat method.
a positive integer value: Position of input argument.
mustBeFloat checks that value is floating-point (single or double) or raise an error.
mustBeFloat(true)
mustBeFloat([])
mustBeFloat(single([true false]))
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET