modifiers.js
function float(value) {
  var parsedFloat = Number.parseFloat(value);

  // couldn't parse it
  if (typeOf(parsedFloat) != 'number') {
    return throwModifierError('float', value, {message: 'Invalid Float'});
  }

  return parsedFloat;
}
function float(value) {
  var parsedFloat = Number.parseFloat(value);

  // couldn't parse it
  if (typeOf(parsedFloat) != 'number') {
    return throwModifierError('float', value, {message: 'Invalid Float'});
  }

  return parsedFloat;
}
function float ( value ) { var parsedFloat = Number . parseFloat ( value ) ; // couldn't parse it if ( typeOf ( parsedFloat ) != 'number' ) { return throwModifierError ( 'float' , value , { message : 'Invalid Float' } ) ; } return parsedFloat ; }
Parses provided string as Float

@param   {string} value - string to parse
@returns {float} - Parsed float number
Parses provided string as Float