09-07-2017, 06:55 AM
(This post was last modified: 09-07-2017, 06:58 AM by DerVVulfman.)
As == means 'equal to', the != means 'NOT equal to'
The % just gets the leftover remainder. Integers are WHOLE numbers only, and if you divide 13/5, the system will typically produce only 2, not 2.6. When dealing with whole numbers, 13/5 gets a value of 2, with a remainder of '3' (which you will NOT see). And if you run 13%2, you ONLY get the remainder of '3', and nothing else. The % symbol only gets the remainder of the division.
I guess to get ALL of the math for 13/5, you would need to calculate 13/5 (to get 2) and 13%5 (to get the remainder '3').
.... % also has another function for string manipulation (ie changing the way your text is displayed)... but that's a bit more complex.
You won't find '\' in anything really other than string data manipulation in the Message system, or in directory/folder paths, so I don't think you need to worry about it as yet. It's not math nor comparison based.
The % just gets the leftover remainder. Integers are WHOLE numbers only, and if you divide 13/5, the system will typically produce only 2, not 2.6. When dealing with whole numbers, 13/5 gets a value of 2, with a remainder of '3' (which you will NOT see). And if you run 13%2, you ONLY get the remainder of '3', and nothing else. The % symbol only gets the remainder of the division.
I guess to get ALL of the math for 13/5, you would need to calculate 13/5 (to get 2) and 13%5 (to get the remainder '3').
.... % also has another function for string manipulation (ie changing the way your text is displayed)... but that's a bit more complex.
You won't find '\' in anything really other than string data manipulation in the Message system, or in directory/folder paths, so I don't think you need to worry about it as yet. It's not math nor comparison based.