Skip to main content

Integer

An integer is a whole number that can be positive or negative.

The following operations are supported for integers:

  • +, -, *, /: addition, subtraction, multiplication, integer division
  • %: remainder of integer division (i.e. modulus)
  • **: exponentiation
  • &, |, ^, ~: bitwise AND, OR, XOR, NOT
  • <<, >>: left and right bit-shift
note

Integers in Nextflow can be backed by any of the following Java types: int, long, Integer, Long.