Page 1 of 1

% Sign in TM1 Rules?

Posted: Sat Jul 21, 2012 10:39 pm
by youngjedi
What is the % sign used for in TM1 rules? I see this used in code I inherited. It doesn't look like it is for division as front and back slashes are used.

Thanks.

Re: % Sign in TM1 Rules?

Posted: Sat Jul 21, 2012 11:10 pm
by David Usherwood
It's in the docs - % is 'or' in logic tests.

Re: % Sign in TM1 Rules?

Posted: Sun Jul 22, 2012 9:56 pm
by Alan Kirk
youngjedi wrote:What is the % sign used for in TM1 rules? I see this used in code I inherited. It doesn't look like it is for division as front and back slashes are used.
David has given you the answer. Granted it's not always easy to search for individual operators in the documentation, which is why a link to the "Rules Syntax" chapter is one of the "Frequently Referenced Sections" found in the FAQ.

Re: % Sign in TM1 Rules?

Posted: Thu Jul 26, 2012 2:06 am
by rdsjrcpa
This is used as or statement.