### 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
Vector<> chars = (invalid_filename_characters).split(" ");
	 name = strip_edges();
	for (int i = 0; i < chars.size(); i++) {
		name = name.replace(chars[i], "_");
	}
	return name;
}
bool ::is_valid_ip_address() const {
	if (find(":") >= 0) {
		Vector<> ip = split(":");
		for (int i = 0; i < ip.size(); i++) {
			 n = ip[i];
			if (n.is_empty()) {
				continue;
			}