lcmval | R Documentation |
Computes the least common multiple for a numeric vector x
.
lcmval(x)
lcm_vector(x)
x |
integer: numbers to find the least common multiple |
The least common multiple.
lcmval(c(144, 160)) # = 1440
lcmval(c(144, 160, 175)) # = 50.400
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.