Difference between revisions of "/"

From QB64 Wiki
Jump to navigation Jump to search
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 …')
 
imported>Clippy
m
Line 18: Line 18:
''See also:''
''See also:''


[[\]], [[Mathematical Operations]]
[[\]] (integer division operator)
 
[[Mathematical Operations]]






{{PageNavigation}}
{{PageNavigation}}

Revision as of 01:13, 3 July 2010

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:

\ (integer division operator)

Mathematical Operations




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