Allows negative decimal numbers as values

If you provided "-2.5" as a parameter value, the library was basically considering it wasn't a value, but another parameter. This fixes it.