mod                package:clim.pact                R Documentation

_M_o_d_u_l_u_s _o_f _a _d_i_v_i_s_i_o_n.

_D_e_s_c_r_i_p_t_i_o_n:

     Returns the modulus of a division: returns the remainder of the
     expression x/y.

_U_s_a_g_e:

     mod(x,y)

_A_r_g_u_m_e_n_t_s:

       x: nominator (integer).

       y: denominator (integer).

_V_a_l_u_e:

     integer value from 0 .. (y-1)

_A_u_t_h_o_r(_s):

     R.E. Benestad

_E_x_a_m_p_l_e_s:

     mod(101,10)   # 1
     mod(4,12)     # 4
     mod(123,12)   # 3

