1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 17:24:29 +02:00

Merge pull request #3868 from caminsha/en/procesing/fix_math_error

[processing/en] Fixed a small math error
This commit is contained in:
Divay Prakash
2020-02-26 14:15:50 +05:30
committed by GitHub

View File

@@ -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