/

From QB64 Wiki
Revision as of 00:57, 3 July 2010 by imported>Clippy (Created page with 'The '''/''' mathematical operator performs decimal point division on a numerical value. ''Syntax:'' return_value = number / divisor {{PageDescription}} * Number value can …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The / mathematical operator performs decimal point division on a numerical value.


Syntax: return_value = number / divisor


Description

  • Number value can be any literal or variable numerical type.
  • Divisor can be any literal or variable numerical type also.
  • Return values can be any literal or variable numerical type, but SINGLE or DOUBLE type decimal point returns are likely.
  • Use the \ integer division operator to guarantee INTEGER or LONG return values.


See also:

\, Mathematical Operations




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page