Welcome to %s forums

BrainModular Users Forum

Login Register

Modulo that outputs float?

I need help on a Patch
Post Reply
CLeRIK
Member
Posts: 23
Contact:

Unread post by CLeRIK » 26 Jun 2010, 19:48

Hi!

I just noticed that the module "A mod B" outputs the integer remainder. What's the easiest way to get the float reminder? I guess it would be pretty easy to create a patch that does this?

CLeRIK
Member
Posts: 23
Contact:

Unread post by CLeRIK » 26 Jun 2010, 19:56

I just solved it, but it doesn't look very pretty :)

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 26 Jun 2010, 20:00

what i do usualy is multiply all by 10, 100, or 1000 (the in, the mod, and out of mod) not pretty either..

wonders if there is a better teck.


23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 28 Jun 2010, 17:07

oh yeah mean that outputs real floats, with int mod. well done,nice, not that weirf. thanks.
between can also use trunc instead of DIV 1, equivalent here.

Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests