Skip to content
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

habits property updates int instead of expected float #1

Closed
sandsieve opened this issue Sep 3, 2021 · 2 comments · Fixed by #13
Closed

habits property updates int instead of expected float #1

sandsieve opened this issue Sep 3, 2021 · 2 comments · Fixed by #13
Assignees
Labels
bug Something isn't working priority:high This is of high priority v0.1-alpha

Comments

@sandsieve
Copy link

When using the command habits prop update 10.5, it handles the float as a int, resulting in the property showing points as 10.
The method does not handle decimal numbers properly.
Screenshot:
屏幕快照 2021-09-02 下午11 31 34

@jimmy-lan jimmy-lan self-assigned this Sep 3, 2021
@jimmy-lan jimmy-lan added bug Something isn't working v0.1-alpha labels Sep 3, 2021
@jimmy-lan
Copy link
Owner

Thanks! I'll schedule a time to fix this.

@jimmy-lan jimmy-lan added the priority:high This is of high priority label Sep 4, 2021
@jimmy-lan jimmy-lan linked a pull request Sep 8, 2021 that will close this issue
@jimmy-lan
Copy link
Owner

This ticket is fixed in the linked pull request.

We will release this change as part of v0.2-alpha. 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high This is of high priority v0.1-alpha
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants