Toggle menu
213
934
195
6.4K
Dovedale Railway Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
No edit summary
No edit summary
Line 1: Line 1:
{{#invoke:Sandbox|arithmetic}}
{{#invoke:Sandbox|arithmetic}}
{{#invoke:Sandbox|logical}}
{{#invoke:Sandbox|logical}}
{{#invoke:Sandbox|length}}

Revision as of 17:07, 30 October 2024

Arithmetic
a is 3
b is 2
a + b is 5
a - b is 1
a * b is 6
a / b is 1.5
a % b is 1
a ^ b is 9
-a is -3
Logical
a is 3
b is 2
a < b and b < a is false
a < b or b < a is true
a < b is false
not (a < b) is true
Length
The length of "This is a string" is 16
🍪 Yum Yum Yum! Cookies help us better deliver our services. By using our site, you agree to our use of cookies.