/
LCM function
LCM function
Returns the least common multiple of each number in two columns.
Note: The columns must have the same data type.
Namespace
arithmetic
Input
Numeric values
Output
Numeric values
Syntax
set-column :column arithmetic:lcm(column1, column2)
Example
Returns the least common multiple of each number in the sales_q1
and sales_q2
columns:
set-column :sales_h1 arithmetic:lcm(sales_q1, sales_q2)
, multiple selections available,
Related content
Numeric functions
Numeric functions
Read with this
Working with numbers in Wrangler
Working with numbers in Wrangler
Read with this
DaysSinceFromDate function
DaysSinceFromDate function
More like this
Router Transformation (Deprecated)
Router Transformation (Deprecated)
More like this
Development Environment Setup
Development Environment Setup
More like this
Google Ads Single Report Batch Source (Deprecated)
Google Ads Single Report Batch Source (Deprecated)
More like this
Created in 2020 by Google Inc.