From 00b3587d6afe33920e75b9ec24a985b0585aabc3 Mon Sep 17 00:00:00 2001
From: JJCUBER <34446698+JJCUBER@users.noreply.github.com>
Date: Mon, 8 Dec 2025 19:45:48 -0500
Subject: [PATCH] [VectorNi] Fix float division examples in docs
---
doc/classes/Vector2i.xml | 2 +-
doc/classes/Vector3i.xml | 2 +-
doc/classes/Vector4i.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml
index 74dfc3efe97..30521536bac 100644
--- a/doc/classes/Vector2i.xml
+++ b/doc/classes/Vector2i.xml
@@ -292,7 +292,7 @@
Divides each component of the [Vector2i] by the given [float]. Returns a [Vector2].
[codeblock]
- print(Vector2i(10, 20) / 2.9) # Prints (5.0, 10.0)
+ print(Vector2i(1, 2) / 2.5) # Prints (0.4, 0.8)
[/codeblock]
diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml
index 64c2137b7d8..4dd43b85fb7 100644
--- a/doc/classes/Vector3i.xml
+++ b/doc/classes/Vector3i.xml
@@ -299,7 +299,7 @@
Divides each component of the [Vector3i] by the given [float]. Returns a [Vector3].
[codeblock]
- print(Vector3i(10, 20, 30) / 2.9) # Prints (5.0, 10.0, 15.0)
+ print(Vector3i(1, 2, 3) / 2.5) # Prints (0.4, 0.8, 1.2)
[/codeblock]
diff --git a/doc/classes/Vector4i.xml b/doc/classes/Vector4i.xml
index 4dd09347807..4f252ad2f5e 100644
--- a/doc/classes/Vector4i.xml
+++ b/doc/classes/Vector4i.xml
@@ -287,7 +287,7 @@
Divides each component of the [Vector4i] by the given [float].
Returns a Vector4 value due to floating-point operations.
[codeblock]
- print(Vector4i(10, 20, 30, 40) / 2) # Prints (5.0, 10.0, 15.0, 20.0)
+ print(Vector4i(1, 2, 3, 4) / 2.5) # Prints (0.4, 0.8, 1.2, 1.6)
[/codeblock]