parse signed ints and floats