Difference between revisions of "Manuals/calci/MODBY"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
==Description==
 
==Description==
 
*This function returns the remainder after division of a  number.
 
*This function returns the remainder after division of a  number.
*In <math>MODBY(Dividend,Divider)<math>,<math>Dividend</math> and <math>Divider</math> are any numerical numbers.
+
*In <math>MODBY(Dividend,Divider)</math>,<math>Dividend</math> and <math>Divider</math> are any numerical numbers.
 
*So Mod function divides one numeric expression by another numeric expression and returns the remainder.
 
*So Mod function divides one numeric expression by another numeric expression and returns the remainder.
 
*The result has the same sign as divisor.
 
*The result has the same sign as divisor.

Revision as of 14:45, 11 April 2017

MODBY(Dividend,Divider)


  • and are any real number .

Description

  • This function returns the remainder after division of a number.
  • In , and are any numerical numbers.
  • So Mod function divides one numeric expression by another numeric expression and returns the remainder.
  • The result has the same sign as divisor.

Examples

  1. MODBY(90,6) = 0
  2. MODBY(1005,8) = 5
  3. MODBY(679.54,23) = 12.539999999999964
  4. MODBY(6543,-306) = -189

See Also

References