Skip to content

feat: round up to nearest multiple of provided value - #1

Open
tmpbased wants to merge 1 commit into
Synthesis-Collective:masterfrom
tmpbased:master
Open

feat: round up to nearest multiple of provided value#1
tmpbased wants to merge 1 commit into
Synthesis-Collective:masterfrom
tmpbased:master

Conversation

@tmpbased

@tmpbased tmpbased commented Aug 8, 2026

Copy link
Copy Markdown

Replaces "(float) Math.Ceiling(returnContainerWeightFloat)" with logic that rounds up to the closest multiple defined in WeightGeneratorSettings.RoundUpTo, e.g. 142 -> 145 when RoundUpTo = 5, or 142 -> 150 when RoundUpTo = 10.

Replaces "(float) Math.Ceiling(returnContainerWeightFloat)" with logic that
rounds up to the closest multiple defined in WeightGeneratorSettings.RoundUpTo.
Examples: 142 → 145 when RoundUpTo = 5, or 142 → 150 when RoundUpTo = 10.
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