Ada Programming/Delimiters//
Appearance
Operator
[edit | edit source]Standard operations
[edit | edit source]Arithmetic division
[edit | edit source]The "/" operator is defined as arithmetic division for all numeric types.
function
"/" (Left, Right : T)return
T;
Usage
[edit | edit source]A :constant
Float := 5.0 / 2.0; -- A is now 2.5 B :constant
Integer := 5 / 2; -- B is also 2
See also
[edit | edit source]Wikibook
[edit | edit source]- Ada Programming
- Ada Programming/Delimiters
- Ada Programming/Operators
- Ada Programming/Mathematical calculations
Ada Reference Manual
[edit | edit source]
Ada Operators | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|