lib/index.js
function sanitizeValue(_ref) {
  var value = _ref.value,
      operator_keyword = _ref.operator_keyword,
      post_keyword = _ref.post_keyword;
  return parseInt(value, 10) * getMultiplier({
    operator_keyword: operator_keyword,
    post_keyword: post_keyword
  });
}
function sanitizeValue(_ref) {
  var value = _ref.value,
      operator_keyword = _ref.operator_keyword,
      post_keyword = _ref.post_keyword;
  return parseInt(value, 10) * getMultiplier({
    operator_keyword: operator_keyword,
    post_keyword: post_keyword
  });
}
function sanitizeValue ( _ref ) { var value = _ref . value , operator_keyword = _ref . operator_keyword , post_keyword = _ref . post_keyword ; return parseInt ( value , 10 ) * getMultiplier ( { operator_keyword : operator_keyword , post_keyword : post_keyword } ) ; }
Makes sure that the value is a number.
@param {object} config
@param {string} config.value
@param {operator_keyword} [config.operator_keyword]
@param {post_keyword} [config.post_keyword]
@return {number}
Makes sure that the value is a number .