lcmval: lcmval

View source: R/lcmval.R

lcmvalR Documentation

lcmval

Description

Computes the least common multiple for a numeric vector x.

Usage

lcmval(x)

Arguments

x

integer: numbers to find the least common multiple

Value

the least common multiple

Examples

lcmval(c(144, 160))      # = 1440
lcmval(c(144, 160, 175)) # = 50.400

sigbertklinke/exams2moodle documentation built on July 6, 2023, 3:26 p.m.