Skip to content

A simple program to convert a floating point number into its ratio representation.

License

Notifications You must be signed in to change notification settings

MatejGomboc/Fraction-to-ratio-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fraction-to-ratio-converter

The program attempts to convert a floating point number into its ratio representation.

Examples:

fraction-to-ratio.exe 0.25
1/4
fraction-to-ratio.exe -0.25
-1/4
fraction-to-ratio.exe 1
1
fraction-to-ratio.exe 2
2
fraction-to-ratio.exe 0
0
fraction-to-ratio.exe 0.333
333/1000
fraction-to-ratio.exe 0.3333
1/3

About

A simple program to convert a floating point number into its ratio representation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published