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

Incrementing value of 0.1 #1

Open
ljcljc opened this issue Mar 9, 2016 · 0 comments
Open

Incrementing value of 0.1 #1

ljcljc opened this issue Mar 9, 2016 · 0 comments

Comments

@ljcljc
Copy link

ljcljc commented Mar 9, 2016

Hi, I use your code a lot in my project, and I want to thank you for the amazing job at first.

There is one thing I hope you can let me know, how to modify your code to display decimal number and by incrementing 0.1 every time.

Right now, if I want to display 15%, it works fine. But I want to display '15.5%', and increment 0.1, instead of 1, every step loop. Is there a way to achieve that?

I have been trying to edit your code to achieve that, but I just cannot finish it.
Let me know if you can help me. Thanks a lot.

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

No branches or pull requests

1 participant