### 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
}
 ::strip_escapes() const {
	 new_string;
	for (int i = 0; i < length(); i++) {
		// 
		if (operator[](i) < 32) {
			continue;
		}
		new_string += operator[](i);
	}
	return new_string;
}
 ::lstrip(const  &p_chars) const {
	int len = length();
	int beg;
	for (beg = 0; beg < len; beg++) {
		if (p_chars.find_char(get(beg)) == -1) {
			break;
		}
	}
	if (beg == 0) {
		return *this;
	}
	return substr(beg, len - beg);
}
 ::rstrip(const  &p_chars) const {
	int len = length();
	int end;
	for (end = len - 1; end >= 0; end--) {
		if (p_chars.find_char(get(end)) == -1) {