Manuals/calci/UNITMOD

Revision as of 20:57, 5 April 2017 by Swapna (talk | contribs) (Created page with "<div style="font-size:30px">'''UNITMOD(A,B) '''</div><br/> *<math>A</math> and <math>B</math> are any real numbers. ==Description== *This function gives the remainder of the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UNITMOD(A,B)


  • and are any real numbers.

Description

  • This function gives the remainder of the number after dividing with some number.
  • When we divide two integers we will get the result like this:   with remainder  . Here   is the dividend,   is the divisor,   is the Quotient and   is the remainder.So  .
  • For e.g., UNITMOD(5,2)=1. Here 1 is the remainder.
  • Let number be "A" and the divisor be "B"
  • The   function we can write using   function:  .
  • This function will return the result as error when the   value is 0.
  • Suppose the value of   and   with same sign either '+' or '-',then the result also with same sign.
  • But   and   are with different then the result will come with the   sign only.

ZOS

  • The syntax is to calculate remainder of the given numbers in ZOS is  .
    •   and   are any real numbers.
  • For e.g.,UNITMOD(10,2),UNITMOD(50.2,-4)

Examples

  1. =UNITMOD(5,2)=1
  2. =UNITMOD(-11,-3)=-2
  3. =UNITMOD(25,5)=0
  4. =UNITMOD(12,-4)=0
  5. =UNITMOD(85,-9)=-5
  6. =UNITMOD(-52,7)=4
  7. =UNITMOD(0,9)=0
  8. =UNITMOD(9,0)=NAN
  9. =UNITMOD(5.5,2)=1.5

Related Videos

MOD

See Also


References

Mod