### 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
s = *this;
	if (s.begins_with(p_prefix)) {
		return s.substr(p_prefix.length(), s.length() - p_prefix.length());
	}
	return s;
}
 ::trim_suffix(const  &p_suffix) const {
	 s = *this;
	if (s.ends_with(p_suffix)) {
		return s.substr(0, s.length() - p_suffix.length());
	}
	return s;
}
bool ::is_valid_int() const {
	int len = length();
	if (len == 0) {
		return false;
	}
	int from = 0;
	if (len != 1 && (operator[](0) == '+' || operator[](0) == '-')) {
		from++;
	}
	for (int i = from; i < len; i++) {
		if (!is_digit(operator[](i))) {
			return false; // 
		}
	}
	return true;
}
bool ::is_valid_hex_number(bool p_with_prefix) const {