Skip to content

MULTIPLY

The MULTIPLY function multiplies the score of a domain in a specified set by a value.
The MULTIPLY function changes the value of Score in the hidden results table.

For example, if a set variable workingSet has these contents from the sample taxonomy in the introduction:

1.01    martial art
    1.01.1  aikido
1.07    golf

and the hidden results table is the one in the introduction, then this statement:

MULTIPLY(workingSet, "1.07", 2);

will multiply by 2 the score of domain 1.07 (10) that will become 20.

Since the only domains with a score are those listed in the hidden results table, only domains with a matching entry in that table are affected.

The syntax is:

MULTIPLY(set, domain, number)

where:

  • set is a set variable.
  • domain is the domain name or ID.
  • number is the multiplying factor. It can be an integer or a decimal number.