added ability to set precision for numeric fields