Difference between revisions of "Manuals/calci/QUOTIENT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
QUOTIENT(10,2) ''returns 5''
 
QUOTIENT(10,2) ''returns 5''
  
*This function is used to calculate the integer part of division of two numbers.
+
*This function displays the integer part of division of <math>dividend</math> by <math>divisor</math>.
 
*If <math>dividend</math> or <math>divisor</math> are non-numeric, Calci returns an #ERROR message.
 
*If <math>dividend</math> or <math>divisor</math> are non-numeric, Calci returns an #ERROR message.
 
*MOD() function can be used to calculate the remainder of division of two numbers.
 
*MOD() function can be used to calculate the remainder of division of two numbers.

Revision as of 19:56, 13 December 2013

QUOTIENT(dividend, divisor)

  • where is the numerator
  • is the denominator

QUOTIENT() calculates the integer part of the division.

Description

QUOTIENT(dividend, divisor)

For Example, QUOTIENT(10,2) returns 5

  • This function displays the integer part of division of by .
  • If or are non-numeric, Calci returns an #ERROR message.
  • MOD() function can be used to calculate the remainder of division of two numbers.

Examples

Function Output
QUOTIENT(55,5) 11
QUOTIENT(-145,3) -48
QUOTIENT(4,10) 0
QUOTIENT(66,-3) -22
QUOTIENT(-12,-4) 3

See Also

References