-
-
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 <[email protected]>
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 <[email protected]>
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 <[email protected]> * Change to use setScale() Signed-off-by: Anders Alfredsson <[email protected]>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <[email protected]> * Change to use setScale() Signed-off-by: Anders Alfredsson <[email protected]> Signed-off-by: Dave J Schoepel <[email protected]>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <[email protected]> * Change to use setScale() Signed-off-by: Anders Alfredsson <[email protected]> Signed-off-by: Nick Waterton <[email protected]>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <[email protected]> * Change to use setScale() Signed-off-by: Anders Alfredsson <[email protected]>
…penhab#11353) * Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations. Signed-off-by: Anders Alfredsson <[email protected]> * Change to use setScale() Signed-off-by: Anders Alfredsson <[email protected]>
Avoids issues with e.g map transformations.
Signed-off-by: Anders Alfredsson [email protected]