More > Media Center 17

Math() : available functions list...

<< < (4/4)

kroser8:
How to calculate the number of module?
For example,
math(% [Track #])         It gives 0

blgentry:
What are you trying to calculate?  You're using the modulus operator (%), which calculates a remainder.  For example:

10 % 3 = 1
10 % 2 = 0
10 % 4 = 2

It's the remainder, after division.

Brian.

kroser8:

--- Quote from: blgentry on November 03, 2015, 11:36:59 am ---What are you trying to calculate?  You're using the modulus operator (%), which calculates a remainder.  For example:

10 % 3 = 1
10 % 2 = 0
10 % 4 = 2

It's the remainder, after division.

Brian.

--- End quote ---

Yeah, I took over the function of the "abs" "module": in Russian "module" means abs.))
|x|.

blgentry:

--- Quote from: kroser8 on November 04, 2015, 09:58:00 am ---Yeah, I took over the function of the "abs" "module": in Russian "module" means abs.))
|x|.

--- End quote ---

Wow, that's really confusing!  I'm glad you figured it out.  :)

Brian.

Navigation

[0] Message Index

[*] Previous page

Go to full version