Limit textfield input to 3 decimal digits