Help - Search - Members - Calendar
Full Version: How can i display the Remainder of a division?
AC Tools Everything Macro > AC Tool > AC Tool Discussion
Brenza
I need to compare the Remainder to another constant...
How can i get it?
Ipa
Use the MOD (modulo) function of COMPUTE:

CODE
Constants
  remainder = 0
End

Compute remainder = 9 MOD 7

// $remainder =  2
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.