renaming precision to scale because it is the number of digits to the right of the decimal point
adding support to precision to specify how many digits the field must have. this can be used with scale to limit field values
removing alerts used for tests =p
adding braces for better reading of the code
removing duplicated line
refactoring for reuse variable decimalsQuantity
Merge pull request #1 from nykolaslima/master

precision and scale suppport