Hello Tejas Mhaske,
You can do several things you can add an extra attribute on the entity with periodInText, and change this attribute in a nano/microflow, when the value changes, or you can do the calculation on the page and write a "complicated" big if then else statement. I advise the extra attribute.
Probably you need to check the value of the period, then make a decision if it needs to be divided and if there needs to be text added and which text needs to be added.
Hope this helps,
Good luck!