Scripting:Operators

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "{| ! Operator !! Usage !! Returns |- | colspan="3" | String operators |- | & || String1 & String2 || The concatenatenation of String1 and String 2 |- | colspan="3" | Arithmetic o...")
Line 1: Line 1:
-
{|
+
{| cellpadding="3"
! Operator !! Usage !! Returns
! Operator !! Usage !! Returns
|-
|-
Line 10: Line 10:
| + || Number1 + Number2 || Number1 added to Number2
| + || Number1 + Number2 || Number1 added to Number2
|-
|-
-
| - || Number1 + Number2 || Number2 subtracted from Number1
+
| - || Number1 - Number2 || Number2 subtracted from Number1
|-
|-
-
| * || Number1 + Number2 || Number1 multiplied by Number2
+
| * || Number1 * Number2 || Number1 multiplied by Number2
|-
|-
-
| / || Number1 + Number2 || Number1 divided by Number2
+
| / || Number1 / Number2 || Number1 divided by Number2
|}
|}

Revision as of 15:22, 10 September 2010

Operator Usage Returns
String operators
& String1 & String2 The concatenatenation of String1 and String 2
Arithmetic operators
+ Number1 + Number2 Number1 added to Number2
- Number1 - Number2 Number2 subtracted from Number1
* Number1 * Number2 Number1 multiplied by Number2
/ Number1 / Number2 Number1 divided by Number2
Personal tools