2021-04-25 22:40:25 +00:00
|
|
|
The [[/]] mathematical operator performs decimal point division on a numerical value.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2021-04-25 22:40:25 +00:00
|
|
|
:return_value = number [[/]] divisor
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{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.
|
2021-02-06 21:51:34 +00:00
|
|
|
* Division and multiplication operations are performed before addition and subtraction in QBasic's order of operations.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2021-02-06 21:51:34 +00:00
|
|
|
{{PageSeeAlso}}
|
2015-08-02 12:12:44 +00:00
|
|
|
* [[MOD|MOD (remainder division operator)]]
|
|
|
|
* [[\|\ (integer division operator)]]
|
2021-02-06 21:51:34 +00:00
|
|
|
* [[*|* (multiplication operator)]]
|
2015-08-02 12:12:44 +00:00
|
|
|
* [[INT]], [[CINT]], [[FIX]], [[_ROUND]]
|
|
|
|
* [[Mathematical Operations]]
|
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|