-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert double to integer via truncation. (#192)
* Convert double to integer via truncation. Matches behavior of C, Go, and Java. Introduce a round() function for round-half-away like GoogleSQL. * Address review feedback. Defer round() until another PR. Co-authored-by: Jim Larson <jimlarson@google.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters