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: 3491 |
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,712 Registered Users
+19 new in 30 days!
153,533 Posts
+31 new in 30 days!
15,348 Topics
+73 new in year!
25 unregistered users.