mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 08:20:18 +00:00
26 lines
696 B
Text
26 lines
696 B
Text
|
{{QBDLDATE:05-20-2022}}
|
||
|
{{QBDLTIME:23:24:53}}
|
||
|
The '''*''' mathematical operator performs the multiplication of two values.
|
||
|
|
||
|
|
||
|
''Syntax:'' return_value = number1 * number2
|
||
|
|
||
|
|
||
|
{{PageDescription}}
|
||
|
|
||
|
* 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|"Overflow" error.]]
|
||
|
* Division and multiplication operations are performed before addition and subtraction in QBasic's order of operations.
|
||
|
|
||
|
|
||
|
|
||
|
''See also:''
|
||
|
|
||
|
[[Mathematical Operations]]
|
||
|
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|
||
|
|