FLOAT

Verifies if the input data is a float number

Options
  • minnumberif specified, the minimum value of the input number
  • maxnumberif specified, the maximum value of the input number
'use strict';
thorin.validate('FLOAT', 'inputString', {
   min: 10,
   max: 100
});
Do you have a question or is something missing?

You can always create a new issue on GitHub or contact one of the core founders by chat.