summaryrefslogtreecommitdiffhomepage
path: root/processing.html.markdown
diff options
context:
space:
mode:
authorcaminsha <c.96marco@hotmail.com>2020-02-25 22:46:04 +0100
committercaminsha <c.96marco@hotmail.com>2020-02-25 22:46:04 +0100
commit3f32649dd84795a981a7a6e7c38cd566722413b9 (patch)
tree84ecf29941c4604c78492d4f19f03bae19bed8e1 /processing.html.markdown
parent8f3c99bb9e56087a922f0f3e296285fc808a7b03 (diff)
Fixed a small math error
Before: 2 -1 = 0 After: 2 - 1 = 1
Diffstat (limited to 'processing.html.markdown')
-rw-r--r--processing.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/processing.html.markdown b/processing.html.markdown
index e437ee95..d99912e7 100644
--- a/processing.html.markdown
+++ b/processing.html.markdown
@@ -140,7 +140,7 @@ SomeRandomClass myObjectInstantiated = new SomeRandomClass();
// Arithmetic
1 + 1 // 2
-2 - 1 // 0
+2 - 1 // 1
2 * 3 // 6
3 / 2 // 1
3.0 / 2 // 1.5