2022-07-31 21:57:56 +00:00
|
|
|
{{QBDLDATE:07-31-2022}}
|
|
|
|
{{QBDLTIME:23:54:07}}
|
|
|
|
The [[*]] mathematical operator performs the multiplication of two values.
|
2022-05-20 22:18:31 +00:00
|
|
|
|
|
|
|
|
2022-07-31 21:57:56 +00:00
|
|
|
{{PageSyntax}}
|
|
|
|
: {{Parameter|return_value}} = {{Parameter|number1}} [[*]] {{Parameter|number2}}
|
2022-05-20 22:18:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
|
|
|
* Multiplication can use any two literal or variable numerical type values.
|
2022-07-31 21:57:56 +00:00
|
|
|
* Multiplication of two negative numbers returns a positive result. One negative number will always return a negative value.
|
2022-05-20 22:18:31 +00:00
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
2022-07-31 21:57:56 +00:00
|
|
|
{{PageSeeAlso}}
|
|
|
|
* [[Mathematical Operations]]
|
2022-05-20 22:18:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|
|
|
|
|
2022-07-31 21:57:56 +00:00
|
|
|
[[Category:Final]]
|