Learn R Programming

schoolmath (version 0.4)

scm: calculating the smallest common multiple of two numbers

Description

This function calculates the smallest common multiple (least common multiple) of two numbers

Usage

scm(x, y)

Arguments

x

first number

y

second number

See Also

gcd

Examples

Run this code
# NOT RUN {
scm(3528, 3780)
# }

Run the code above in your browser using DataLab