Hey sweety,
The logic is the same for any currency:
If you come up with the base code, I will help you correct and perfect it. I will not spend time to learn the ins and outs of OMR nor the Omani language. (Time = Money. I am busy.)Parse the value from least to largest, lookup the terminology; add terminology to indicate magnitudes. Pay attention to special cases.
I will leave this thread here so that anyone who desires can give you a Bespoke solution.