### 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
i++;
	}
	return ""; 
}
 ::get_slicec(char32_t p_splitter, int p_slice) const {
	if (is_empty()) {
		return ();
	}
	if (p_slice < 0) {
		return ();
	}
	const char32_t *c = this->ptr();
	int i = 0;
	int prev = 0;
	int count = 0;
	while (true) {
		if (c[i] == 0 || c[i] == p_splitter) {
			if (p_slice == count) {
				return substr(prev, i - prev);
			} else if (c[i] == 0) {
				return ();
			} else {
				count++;
				prev = i + 1;
			}
		}
		i++;
	}
}
Vector<> ::split_spaces() const {