MOD


Next: NEG Up: COD Command Summary Previous: MIN

MOD

Compute the value of the previous number modulo the top number in the stack.

Example:

 2.0 3.0
COD> MOD
 2.0
COD> ABO 3.0 3.0
 3.0 3.0
COD> MOD
 0.0



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