BigDecimal#whole?
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 152
- Forks
- 95
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 10
Description
e.g. round == self
Would be nice for things like skiping the .0 in 1.0
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
Start by locating BigDecimal's Ruby-facing implementation and the existing tests for rounding and equality. Confirm the intended behavior for values such as 1.0 and non-integral decimals, then add coverage showing when BigDecimal#whole? reports a whole value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, ruby
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100