restrict fields to 3 decimals