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

Clarify decimal type #5871

Merged
merged 1 commit into from
Oct 11, 2018
Merged

Clarify decimal type #5871

merged 1 commit into from
Oct 11, 2018

Conversation

davidyell
Copy link
Contributor

@davidyell davidyell commented Oct 11, 2018

This pull request aims to try and clarify the two different decimal parts, and what they are for. As precision refers to the whole integer part before the decimal point, and scale refers to the fractional part after the decimal point.

However this wasn't very clear, at least to me, from the way the documentation was worded.

Reference, https://math.stackexchange.com/questions/64042/what-are-the-numbers-before-and-after-the-decimal-point-referred-to-in-mathemati

This pull request aims to try and clarify the two different decimal parts, and what they are for. As precision refers to the whole integer part before the decimal point, and scale refers to the fractional part after the decimal point.

However this wasn't very clear, at least to me, from the way the documentation was worded.
@ravage84 ravage84 added this to the 3.x milestone Oct 11, 2018
@markstory markstory merged commit 56b6bc3 into cakephp:3.0 Oct 11, 2018
@dereuromark
Copy link
Member

Also refs cakephp/migrations#314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants