-
Notifications
You must be signed in to change notification settings - Fork 324
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
details.stats.efficiency give me %/100 not only % #960
Comments
@trip1e the values seems to be correct and that long decimal indeed represents `${parseFloat(details.stats.efficiency).toFixed(2) * 100}%` // => 71% |
Yes, I want exactly this! Thanks! But you can fix this:
Becasue it isn’t return % |
@trip1e you are welcome! Can you clarify what you mean in your second point? I don't quite follow... |
In that code is mistake: |
but 0.25/1.00 equates to 25%. There is no error in the code above I believe you just need to multiply by 100 |
Sorry not in code in documentation is good to change it to: |
I still don't see a problem. Hopefully someone else can chime in here |
@trip1e please feel free to send a PR changing that bit of documentation to what you suggested as it's not clear enough right now, thanks! |
I think what he means is this: In the docs: (https://github.com/jakubpawlowicz/clean-css)
Since the produced output of
|
Thanks @MiguelDebruyne, that should be it! |
I rephrased it with actual calculation logic in place - fixed on master. |
Hello!
My problem is when I use:
It write this:
Why efficiency is in %/100?
Thanks for every help!
The text was updated successfully, but these errors were encountered: