Implement a Python function that performs various operations on fractions based on the given signature and implementation. The function should be capable of handling addition, subtraction, multiplication, division of fractions, and converting fractions to decimal and string formats.