-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Rounding issue #4529
Comments
The behavior of Lodash here is consistent with
Test cases: Math.round(1.5);
// => 2
Math.round(-1.5);
// => -1 |
i just ran across an issue myself. import { round } from 'lodash/fp'; |
Hi @shauntck! Like @jamesplease said methods like @L2jLiga I hope @jamesplease response was clear, if not feel free to ask. |
version: master
input:
_.round(-1.4445, 3)
expected:
-1.445
actual:
-1.444
The text was updated successfully, but these errors were encountered: