Skip to content

Conversation

@JPryce-Aklundh
Copy link
Collaborator

@JPryce-Aklundh JPryce-Aklundh commented Dec 8, 2022

Original PR: #230

We follow the behaviour of Java, i.e. rounding towards positive infinity
for ties when we have no precision or mode or rounding according to
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/RoundingMode.html
for rounding modes.

The current description was wrong in some cases and missleading in
others. Also added more examples.

Fixes #neo4j/neo4j#12972 and
neo4j/neo4j#12963
@JPryce-Aklundh JPryce-Aklundh added cherry-picked This PR was merged in another version and the changes has been cherry picked in this PR. 5.x Applies to all Neo4j 5 docs labels Dec 8, 2022
@neo-technology-commit-status-publisher
Copy link
Collaborator

Looks like you've updated the documentation!

Check out your changes at https://neo4j-docs-cypher-250.surge.sh

@JPryce-Aklundh JPryce-Aklundh merged commit 4882747 into neo4j:5.x Dec 8, 2022
@JPryce-Aklundh JPryce-Aklundh deleted the 5.x-cherry-pick-230 branch December 8, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.x Applies to all Neo4j 5 docs cherry-picked This PR was merged in another version and the changes has been cherry picked in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants