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