Returns the least common multiple shared by the first and second arguments. |
lcm(10,4) |
Output: Returns the least common multiple between values 10
and 4
, which is 20
.
lcm(value1, value2) |
Argument | Required? | Data Type | Description |
---|---|---|---|
value1 | Y | string | The first value must be an Integer literal, column reference, or expression that evaluates to an Integer value. |
value2 | Y | string | The first value must be an Integer literal, column reference, or expression that evaluates to an Integer value. |
Integer expressions, column references or literals to multiply together.
Required? | Data Type | Example Value |
---|---|---|
Yes | Literal, function, or column reference returning an Integer value | 15 |
Source:
string | repeat_count |
---|---|
ha | 0 |
ha | 1 |
ha | 1.5 |
ha | 2 |
ha | -2 |
Transformation:
Results:
string | repeat_count | repeat_string |
---|---|---|
ha | 0 | |
ha | 1 | ha |
ha | 1.5 | |
ha | 2 | haha |
ha | -2 |