Jump to content

Arithmetic/Integer: Difference between revisions

m
Line 687:
$x / $y = [expr {int($x / $y)}]
$x mod $y = [expr {$x % $y}]
exponents: $x 'to the' $y = [expr {pow($x,$y)}] (a float) = [expr {$x ** $y}] (an integer)
"</lang>
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.