### 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 (has_text) {
		new_string += substr(indent_stop, length() - indent_stop);
	}
	return new_string;
}
 ::strip_edges(bool left, bool right) const {
	int len = length();
	int beg = 0, end = len;
	if (left) {
		for (int i = 0; i < len; i++) {
			if (operator[](i) <= 32) {
				beg++;
			} else {
				break;
			}
		}
	}
	if (right) {
		for (int i = len - 1; i >= 0; i--) {
			if (operator[](i) <= 32) {
				end--;
			} else {
				break;
			}
		}
	}
	if (beg == 0 && end == len) {
		return *this;
	}
	return substr(beg, end - beg);