| 
				
				xirja
								
									 | 
			
				 
			Modulo doesn't accommodate negative divisors: 
			Bug Negative Modulo.ffxml _____________________________________________________
 				http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________  | 
		|
| Posted: July 16, 2015 6:58 am | ||
| 
				
				GMM
				 Moderator 
									Posts: 3493  | 
			
				 
			You can use negative divisors but the remainder will always be positive. This component was designed to replicate the output of LUA's modulo function. Please check the attached filter to see the component works as intended. 
			ModuloScript.ffxml  | 
		|
| Posted: July 17, 2015 10:24 am | ||
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,737 Registered Users
					+5 new in 7 days!
153,582 Posts
					+5 new in 7 days!
15,355 Topics
					+5 new in 30 days!
8 unregistered users.