Skip to content

Conversation

@pudelkoM
Copy link
Member

@pudelkoM pudelkoM commented Aug 11, 2021

This is an experiment to explore if we can normalize the SDE-internal rounding to make life easier for clients. This change ensures returned values are always multiples of 2.5 with 3 significant digits. If a client programs only those, R/W symmetry is preserved.

Examples of valid values that remain the same over write -> read:
125
4875
1075000

Invalid values that will be adjusted on read:
1300 -> 1250
1010000 -> 1025000

@pudelkoM pudelkoM changed the title Bfrt round meters Round BfRt meter values on read to 3 digits and multiples of 2.5 Aug 11, 2021
@pudelkoM
Copy link
Member Author

@pierventre

@pudelkoM pudelkoM force-pushed the bfrt-round-meters branch 2 times, most recently from c6cc119 to 3853daf Compare August 11, 2021 19:01
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.

2 participants