Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] Field type number, misleading option "precision" actually handles, refers to "scale" #7383

Closed
@groucho-zz

Description

@groucho-zz

It is misleading to name the option "precision" when it actually refers to the
numbers after the decimal point, which should have been "scale" as it is declared
in the Entity for doctrine.

and generally in mysql :
http://dev.mysql.com/doc/refman/5.1/en/precision-math-decimal-changes.html

M is the maximum number of digits (the precision)
D is the number of digits to the right of the decimal point (the scale)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions