Difference between revisions of "Manuals/calci/DIVPARTS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
==References==
 
==References==
 
[http://www.mathsisfun.com/definitions/dividend.html Divide]
 
[http://www.mathsisfun.com/definitions/dividend.html Divide]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Revision as of 04:55, 13 March 2017

DIVPARTS (Number,Divisor)


  • and is any values.

Description

  • This function shows the Quotient and remainder of the given numbers.
  • In , is the Dividend and is the Divisor of the Dividend of the division.
  • The division of two natural numbers is the process of calculating the number of times one number is contained within one another.
  • It is showing Quotient and Remainder of the Dividend and Divisor.
  • So in the result,first value is the quotient and second value is the remainder.

Examples

  1. DIVPARTS(20,5) = 4 0
  2. DIVPARTS(180,22.3) = 8 1.5999999999999943
  3. DIVPARTS(-70,6) = -12 2
  4. DIVPARTS(7651,-89) =-86 -3
  5. DIVPARTS(-10234,-189) = -55 -161

See Also

References

Divide