I have a few operators that I'm wondering about.
1.
2.mod
3.round
4.joinhelloworld
5.letter1ofworld
What are these used for?length ofworld
Last edited by Firedrake969 (2012-07-18 12:45:47)
Offline
1) Returns the remainder after division (i.e. 23 mod 6 = 5)
2) Rounds a number to the nearest integer (i.e. round(6.782) = 7)
3) Joins two strings together (i.e. join(Hello |World) = "Hello World")
4) Returns the letter of a string (can also be a number) (i.e. letter (5) of (My name) = "a")
5) Returns the length of a string (can also be a number) (i.e. length of (world) = 5)
Offline