定点类型描述错误
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 1.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 31
Description
小数位数是精度?
M 是小数位数(精度)的总数
from MySQL document
In a DECIMAL column declaration , the precision and scale can be (and usually is) specified. For example:
salary DECIMAL(5,2)
In this example, 5 is the precision and 2 is the scale . The precision represents the number of significant digits that are stored for values, and the scale represents the number of digits that can be stored following the decimal point.
Standard SQL requires that DECIMAL(5,2) be able to store any value with five digits and two decimals, so values that can be stored in the salary column range from -999.99 to 999.99.
Contributor guide
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
Open data-type-numeric.md and review the linked lines describing DECIMAL precision and scale. Compare the wording with the cited MySQL documentation, then correct the Chinese description so M, precision, and scale are accurately defined; verify the rendered section when done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100