Sha256: 4082c89ca624c6ebd371e5fa6377aac15480851421a60d8606708793a44082d5
Contents?: true
Size: 317 Bytes
Versions: 20
Compression:
Stored size: 317 Bytes
Contents
procedure Test( a, b ) ? "a+b", a + b ? "a-b", a - b ? "a*b", a * b // The quotient isn't integer, so we use the Int() function, which truncates it downward. ? "a/b", Int( a / b ) // Remainder: ? "a%b", a % b // Exponentiation is also a base arithmetic operation ? "a**b", a ** b return
Version data entries
20 entries across 7 versions & 1 rubygems