I am trying to convert three decimals numbers in to word that would display against the amount calculated on a Invoice form .
Currently i am using the below code for two decimal places however I have added a drop down for three decimal currencies like OMR & BHD Omani Rials & Bahraini Dinars respectively . They all have 3 decimals .Please help.
Y = Numberstoword.rawValue;
Y = Replace(Y,"Dollars","Currency"); // changed spellings here.
Y = Replace(Y,"Cents","Subcurrency");
Please see the fixed form at following link:
If you want to conatct me directly then please visit to following link and also see my other posts.
Thank you for your efforts , i have also tried exactly the same script before posting on the forum .,its fails miserably in the calculations part where the number ends with zero .Not very helpful.There has to be some alternative .
Thanks Again .