mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 22:50:23 +00:00
6912727753
Help file snapshot as of 07/31/2022.
25 lines
888 B
Plaintext
25 lines
888 B
Plaintext
{{QBDLDATE:07-31-2022}}
|
|
{{QBDLTIME:23:54:08}}
|
|
The [[/]] mathematical operator performs decimal point division on a numerical value.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: {{Parameter|return_value}} = {{Parameter|number}} [[/]] {{Parameter|divisor}}
|
|
|
|
|
|
{{PageDescription}}
|
|
* Number value can be any literal or variable numerical type.
|
|
* Return values can be any literal or variable numerical type, but [[SINGLE]] or [[DOUBLE]] type decimal point returns are likely.
|
|
* Values returned may be expressed using exponential or [[scientific notation]] using '''E''' for SINGLE or '''D''' for DOUBLE precision.
|
|
* Use the [[\|\ integer division]] operator to guarantee [[INTEGER]] or [[LONG]] return values.
|
|
* Division and multiplication operations are performed before addition and subtraction in QBasic's order of operations.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[Mathematical Operations]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|
|
[[Category:Final]]
|