const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.js');
const require_isFloat$1 = require('./isFloat.js');

//#region ../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/toFloat.js
var require_toFloat = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/toFloat.js": ((exports, module) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	exports.default = toFloat;
	var _isFloat = _interopRequireDefault(require_isFloat$1.require_isFloat());
	function _interopRequireDefault(obj) {
		return obj && obj.__esModule ? obj : { default: obj };
	}
	function toFloat(str) {
		if (!(0, _isFloat.default)(str)) return NaN;
		return parseFloat(str);
	}
	module.exports = exports.default;
	module.exports.default = exports.default;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_toFloat();
  }
});