Sha256: f5def7b5a7d8129dd03e339c052feb9de45587e4b2aeec8ced286424ba5707bb
Contents?: true
Size: 359 Bytes
Versions: 82
Compression:
Stored size: 359 Bytes
Contents
var $parseFloat = require('./_global').parseFloat; var $trim = require('./_string-trim').trim; module.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) { var string = $trim(String(str), 3); var result = $parseFloat(string); return result === 0 && string.charAt(0) == '-' ? -0 : result; } : $parseFloat;
Version data entries
82 entries across 38 versions & 8 rubygems