Sprintf doesn't care about OutDec option
Open
- Dominant language
- C++
- Stars
- 318
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
options(OutDec=",")
val = 0.86771
sprintf("%.3f", val)
#[1] "0.868"
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the R example with options(OutDec=",") and sprintf("%.3f", val), then trace the sprintf formatting path in stringi. Check where the OutDec option is read or ignored and compare the result with the expected decimal separator. Done means the example respects OutDec and relevant tests cover the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, r
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100