Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jogasaki): casting to integer truncates instead of rounding to ne…
…arest Before the fix, casting float to integer accidentally rounded to nearest integer, e.g. 1.7 became 2. The expected behavior is to truncate fractional portion (round toward 0). So 1.7 will be 1 now correctly.
- Loading branch information