Skip to content

Added support for decimal temperature values #11

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

Merged
merged 3 commits into from
May 6, 2021

Conversation

giddyhup
Copy link

tm.dectemperature(float) shows values between -9.9 and 99.9 with the colon as decimal point and the degree character. Splitting the value could probably be done better but it works.

tm.dectemperature(float) shows values between -9.9 and 99.9 with the colon as decimal point and the degree character. Splitting the value could probably be done better but it works.
Copy link
Owner

@depklyon depklyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for your contribution.
Prior to merge, please follow the comments in the review.

giddyhup and others added 2 commits May 6, 2021 12:46
Suggestions followed. Added exception handling for cases where decimal point may be missing.
@depklyon depklyon merged commit b9305fc into depklyon:master May 6, 2021
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