Template:AlgebraicOperationsTable

From QB64 Wiki
Jump to navigation Jump to search

The following table describes the algebraic operations, where a, b and n are operands:

Operation Description
a + b Returns the sum of a and b.
a - b Returns the difference of b from a.
a * b Returns the product of a and b.
a \ b Returns the quotient of a divided by b.
a MOD b Returns the remainder of a divided by b.
a / b Returns the integer quotient of a divided by b.
a ^ b Returns the exponentiation of a to the power of b.
SQR(n) Returns the square root of n.
LOG(n) Returns the natural logarithm of n.