POSITION:028,114
COLOUR:EUPHORIA
TEXT:00,   = remainder(  ,  )
COLOUR:POINTS
TEXT:00,ro             o1 o2
COLOUR:STANDARD
TEXT:32,remainder() returns the remainder left over from dividing    by   , and
COLOUR:POINTS
TEXT:00,                                                          o1    o2
COLOUR:STANDARD
TEXT:16,stores it in the receiving variable   . The value returned by remainder()
COLOUR:POINTS
TEXT:00,                                    ro
COLOUR:STANDARD
TEXT:16,is always less than the value of   , the divisor.
COLOUR:POINTS
TEXT:00,                                 o2
COLOUR:STANDARD
TEXT:32,Because remainder() can be either atoms or sequences for both the
TEXT:16,quotient and the divisor, Euphoria will convert an atom to a sequence
TEXT:16,that will match the length of the other sequence before remainder() is
TEXT:16,executed. The elements of this new other sequence will have the value
TEXT:16,of the original atom value. You may want to review power() or the
TEXT:16,chapter "Assigning Values To Sequence Variables" if you need any
TEXT:16,help in understanding this. A demo program is available that uses
TEXT:16,various examples of remainder().

