Skip to content

Conversation

@pedrolamas
Copy link
Member

As it currently stands, any negative value would be shown as the lowest possible unit - so 1000m is shown as 1km, but -1000m would be incorrectly shown as 1μm.

This fixes by using absolute ranges when formatting numbers.

Fixes #1686

@pedrolamas pedrolamas added this to the 1.34.3 milestone Jun 5, 2025
@pedrolamas pedrolamas added the GH - Bug Something isn't working label Jun 5, 2025
@pedrolamas pedrolamas merged commit 3499936 into fluidd-core:develop Jun 5, 2025
4 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/fix-1686 branch June 6, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GH - Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect rounding of negative values

1 participant