Skip to content
/ div Public

Simple CLI utility to get the greatest common denominator of a set of numbers

License

Notifications You must be signed in to change notification settings

simplysh/div

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

div

Simple CLI utility to get the greatest common denominator of a set of numbers

Installation

Clone the repo and run

make

Usage

Call div along with your set of numbers:

div 800 600
# 200

To get all the common denominators, run with -a as the first argument:

div -a 800 600 1920 1080
# 1 2 4 5 8 10 20 40

License

MIT

About

Simple CLI utility to get the greatest common denominator of a set of numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published