### Godot version

4.1.1

### System information

linux

### Issue description

The `"%+f"` format adds a `+` sign in front of positive numbers. If you try to format `-0.0`, it breaks and displays both a `+` and a `-`.

### Steps to reproduce

```gdscript
@tool
extends EditorScript

func _run() -> void:
    print("%+f" % -0.0)
```

### Minimal reproduction project

see above
if (p_allow_empty || remaining_len > 0) {
				ret.push_back(substr(0, remaining_len));
			}
			break;
		}
		int left_edge;
		if (p_splitter.is_empty()) {
			left_edge = remaining_len - 1;
			if (left_edge == 0) {
				left_edge--; 
			}
		} else {
			left_edge = rfind(p_splitter, remaining_len - p_splitter.length());
		}
		if (left_edge < 0) {
			
			ret.push_back(substr(0, remaining_len));
			break;
		}
		int substr_start = left_edge + p_splitter.length();
		if (p_allow_empty || substr_start < remaining_len) {
			ret.push_back(substr(substr_start, remaining_len - substr_start));
		}
		remaining_len = left_edge;
	}
	ret.reverse();
	return ret;
}
Vector<double> ::split_floats(const  &p_splitter, bool p_allow_empty) const {
	Vector<double> ret;