/MOD


Next: 0;; Up: COD Command Summary Previous: /

/MOD

Replace the top two numbers in the stack with the remainder and quotient of the previous number divided by the top number in the stack.

Example:

 23.1 10.0
COD> /MOD
 3.1  2.0



Web Page Maintained by: Dr. Lawrence E. Brown elwin@redshift.gsfc.nasa.gov