### 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 (found) {
			return i;
		}
	}
	return -1;
}
bool ::ends_with(const  &p_string) const {
	int l = p_string.length();
	if (l > length()) {
		return false;
	}
	if (l == 0) {
		return true;
	}
	const char32_t *p = &p_string[0];
	const char32_t *s = &operator[](length() - l);
	for (int i = 0; i < l; i++) {
		if (p[i] != s[i]) {
			return false;
		}
	}
	return true;
}
bool ::begins_with(const  &p_string) const {
	int l = p_string.length();
	if (l > length()) {
		return false;
	}