mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 03:15:07 +00:00
24 lines
939 B
Text
24 lines
939 B
Text
The [[/]] mathematical operator performs decimal point division on a numerical value.
|
|
|
|
|
|
{{PageSyntax}}
|
|
:return_value = number [[/]] 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}}
|
|
* [[MOD|MOD (remainder division operator)]]
|
|
* [[\|\ (integer division operator)]]
|
|
* [[*|* (multiplication operator)]]
|
|
* [[INT]], [[CINT]], [[FIX]], [[_ROUND]]
|
|
* [[Mathematical Operations]]
|
|
|
|
|
|
{{PageNavigation}}
|