*

From QB64 Wiki
Revision as of 20:52, 5 November 2010 by imported>Clippy
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 "Overflow" error.
  • Division and multiplication operations are performed before addition and subtraction in Qbasic's order of operations.


See also:

Mathematical Operations




Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page