Ada Programming/Keywords/rem

< Ada Programming‎ | Keywords

Operator remEdit

The rem keyword is used as the remainder operator, that is, the remainder of the signed integer division. The following formula applies:

A = (A / B) * B + (A rem B)

See alsoEdit