An integral number

Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
kind = "Number Integer"
Active cells (details)
%(dividend)

returns the modulo of this number and the argument

&(other)

returns this number bitwise and the argument

<<(other)

returns this number left shifted by the argument

>>(other)

returns this number right shifted by the argument

^(other)

returns this number bitwise xor the argument

char()

Returns a Text that represents the character with the same character code of this number

div(dividend)

returns how many times the first number can be divided by the second one

divmod(dividend)

returns a tuple of how many times the first number can be divided by the second one, and the remainder

even?()

Returns true if this number is even, false otherwise

method(
  (@ %(2)) ==(0) 
  )
odd?()

Returns true if this number is odd, false otherwise

method(
  (@ %(2)) !=(0) 
  )
pred()

Returns the predecessor of this number

succ()

Returns the successor of this number

times([argumentNameOrCode], [code] nil)

Expects one or two arguments. If one argument is given, executes it as many times as the value of the receiving number. If two arguments are given, the first will be an unevaluated name that will receive the current loop value on each repitition. the iteration length is limited to the positive maximum of a Java int

|(other)

returns this number bitwise or the argument