Ada Programming/Attributes/'Remainder

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

X'Remainder(Y,Z) is an Ada attribute where X is any floating-point type and Y,Z are any instances of that type. This attribute represents the fractional part of this result. Z should never be zero.

If Y is negative, then the result will be negative.

Example[edit | edit source]


See also[edit | edit source]

Wikibook[edit | edit source]

Ada Reference Manual[edit | edit source]