Implemented minimal number parsing