Ada Programming/Attributes/'Round
Appearance
Description
[edit | edit source]Fixed-point value obtained by rounding X (away from 0, if X is midway between two values).
The function returns the value obtained by rounding X (away from 0, if X is midway between two values of the type of S).
Example
[edit | edit source]F’Round (X) return S