1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/Multiply.md
2022-12-24 19:12:43 -06:00

712 B

The ***** mathematical operator performs the multiplication of two values.

Syntax

return_value = number1 * number2

Description

  • Multiplication can use any two literal or variable numerical type values.
  • Multiplication of two negative numbers returns a positive result. One negative number will always return a negative value.
  • Return values may exceed certain numerical variable type limits creating an ERROR Codes
  • Division and multiplication operations are performed before addition and subtraction in QBasic's order of operations.

See Also