Skip to content

Add Round away from zero methods - #3606

Open
Chrisshort92 wants to merge 2 commits into
developfrom
BHoM_Engine-#3603-add-roundtostep-feature-for-double
Open

Add Round away from zero methods#3606
Chrisshort92 wants to merge 2 commits into
developfrom
BHoM_Engine-#3603-add-roundtostep-feature-for-double

Conversation

@Chrisshort92

@Chrisshort92 Chrisshort92 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #3604

Add new round methods for ceiling and floor that round away from zero.

Test files

https://burohappold.sharepoint.com/:f:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/BHoM_Engine/BHoM_Engine/%233606-AddRoundAwayFromZeroMethods?d=w080ef539f3c34e46a1ba223e6a4ad64c&csf=1&web=1&e=V0Eu7F

Changelog

  • Query.RoundToCeilingAwayFromZero() Query method added in the BHoM_Engine for double & int class
  • Query.RoundToFloorAwayFromZero() Query method added in the BHoM_Engine for double & int class

Additional comments

@Chrisshort92
Chrisshort92 requested a review from rwemay as a code owner August 28, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant