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.
running the isolated code using bench.