Added ability to validate the number of decimal places

We needed this to help validate currency fields to ensure that the correct level of precision was presented.
how did you measure that? running the tests against the two versions?