Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 abhaysingh
		
			abhaysingh
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Dear All,
bit confused in MOD function
can any one tell me output for
Mod(7,12)
 
					
				
		
 alexandros17
		
			alexandros17
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Mod returns the reminder of 7 / 12 in this case is 7 because 7 divides 12 is 0 with 7 as reminder.
Mod(15,3) is 0 because 15/3 is 5 (5*3=15) with reminder 0
Mod(12,5) is 2 because 12/5 is 2 (5*2=10) with reminder 2
 
					
				
		
 alexandros17
		
			alexandros17
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Mod returns the reminder of 7 / 12 in this case is 7 because 7 divides 12 is 0 with 7 as reminder.
Mod(15,3) is 0 because 15/3 is 5 (5*3=15) with reminder 0
Mod(12,5) is 2 because 12/5 is 2 (5*2=10) with reminder 2
 
					
				
		
Then How about " mod( -4,3 ) returns 2 " ? Could you please explain
