I need a function with a decimal number as input (parameter). The function should turn the fraction of the number and output it as decimal number.
I think, in my use caces the numerator can always be 1.
For example I have the fraction 1/4
and would like to get the output 4/1 (same as 4).
If anyone has an other idea how to solve it, please answer as well.
I am happy about every answer