LeaVerou / LeaVerou/incrementable
Incrementing with adding digits “eats” the value after period
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 85
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Look at the following example: if you'd have a value like 9.123em and would increment it by one, you'd gain 10.12em, so if you'd decrement it and increment again, you'd get 10.1em and so on. The last digit after period become lost.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Reproduce the 9.123em increment/decrement sequence, then locate the entry point that parses and increments length values; done means repeated changes no longer discard trailing fractional digits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100