Testing -chars for decimal numbers