Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

remainder of division

How to write that the remainder of 5 divided by 2 is 1

Tags:
Former Member
Former Member replied

use d = 5 mod 2 now d will hold the value 1

data : d type i.

d = 5 mod 2.

write: d.

Edited by: Ashish Paliwal on Sep 24, 2008 4:14 PM

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question