Testing out alternative decimal-to-fraction conversion