-
-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
float number problem #441
Comments
ahhh, i see the minified version replaces the number with I'm not sure how to work around that; it'd probably require configuring uglifyjs. Are you implying that adding the |
Yes, implying the . 0 prevents from shortering and prevent from making space, witch maked the error to. I tried to set uglify, but it didnt help.
… On 25 May 2017, at 23:23, Jordan Harband ***@***.***> wrote:
implying
|
I tried it, and adding the |
I'll just hack around it for now; uglify isn't worth tinkering with. |
@medikoo the issue is in browsers where the last comparison returns |
Hello, i have probleme with mimification in file es-shim.js and with minifi version.
Problem is in float number (1000000000000000128).toFixed(0) !== '1000000000000000128'
when change it to (1000000000000000128.0).toFixed(0) !== '1000000000000000128'
it works fine, report some one else this BUG? Thanks.
PS: problem is when webpack compile npm module es5-shim, i tried to turn off minification, but it didnt work anyway. Only solution was change 1000000000000000128 to 1000000000000000128.0
Thanks,
Miro.
The text was updated successfully, but these errors were encountered: