Skip to content

round af/rx-/txdelay to 3 decimal places#2001

Open
weebl2000 wants to merge 1 commit intomeshcore-dev:devfrom
weebl2000:nit-float-rounding-cli
Open

round af/rx-/txdelay to 3 decimal places#2001
weebl2000 wants to merge 1 commit intomeshcore-dev:devfrom
weebl2000:nit-float-rounding-cli

Conversation

@weebl2000
Copy link
Copy Markdown
Contributor

Minor nit to fix this:

image

7 decimals precision is required for frequency get/set but not so relevant for the delays/af etc.

@weebl2000 weebl2000 force-pushed the nit-float-rounding-cli branch from eb283cb to f6eecfb Compare March 23, 2026 13:26
@weebl2000 weebl2000 force-pushed the nit-float-rounding-cli branch from f6eecfb to 9c6aeb2 Compare April 3, 2026 09:54
@weebl2000
Copy link
Copy Markdown
Contributor Author

@liamcottle thoughts?

@weebl2000 weebl2000 force-pushed the nit-float-rounding-cli branch from 9c6aeb2 to 4d166ec Compare April 4, 2026 11:18
This avoids seeing 0.1999999 for direct.txdelay 0.2 :)
@weebl2000 weebl2000 force-pushed the nit-float-rounding-cli branch from 4d166ec to 0e578b1 Compare April 22, 2026 07:38
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