Home Snippets
Math RelatedTerminating/Repeating Decimals

Terminating/Repeating Decimals

By Jeff LeMieux on Jul 23, 2001

Determine whether the proper fraction a/b is a terminating or repeating decimals by solving to the number of digits of your choice. Program is not limited by the number limits of the operating system.