-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Smhi] Ensure trailing zeroes are removed before updating channels #11353
Conversation
…transformations. Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that it will be ok in case your value is 200.0 for example ?
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
Did a bit of testing, and it should work as intended, but decided to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <andersb86@gmail.com> * Change to use setScale() Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <andersb86@gmail.com> * Change to use setScale() Signed-off-by: Anders Alfredsson <andersb86@gmail.com> Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <andersb86@gmail.com> * Change to use setScale() Signed-off-by: Anders Alfredsson <andersb86@gmail.com> Signed-off-by: Nick Waterton <n.waterton@outlook.com>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <andersb86@gmail.com> * Change to use setScale() Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <andersb86@gmail.com> * Change to use setScale() Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
Avoids issues with e.g map transformations.
Signed-off-by: Anders Alfredsson andersb86@gmail.com