euclidean: Euclidean function, finds the greatest common divisor of two...

Description Usage Arguments Value Examples

View source: R/euclidean.R

Description

Euclidean function, finds the greatest common divisor of two numbers. Find Wikipedia docs Here.

Usage

1
euclidean(value1, value2)

Arguments

value1

An integer number must be introduced

value2

An integer number must be introduced

Value

It will return the greatest common divisor between value 1 and value 2. An integer will be returned.

Examples

1
2
euclidean(123612, 13892347912)
euclidean(100, 1000)

martynas2514/Lab03 documentation built on Sept. 12, 2020, 11:37 a.m.