makes pre-decimal input optional