YOUR ACCOUNT

xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
Modulo doesn't accommodate negative divisors:

Bug Negative Modulo.ffxml
_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
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
  Details E-Mail

Join Our Community!

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!

Create an Account

Online Users Last minute:

26 unregistered users.