fix scanNegativeNumber for -0.12