Learn R Programming

schoolmath (version 0.4.2)

gcd: Greatest common divisor of two numbers

Description

Greatest common divisor of two numbers

Usage

gcd(x, y)

Value

numeric greatest common divisor

Arguments

x

first number

y

second number #'

Examples

Run this code
gcd(42, 56)

Run the code above in your browser using DataLab