this function converts a fraction number to a string in percentage format.
I will suggest to include tests, here you can find an example from the inRange() function (docs).
inRange()
I just added the test.
Hi, is it ok?