Hi,
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.
var Y;
Numberstoword.rawValue= WordNum(Grandtotal,2);
Y = Numberstoword.rawValue;
Y = Replace(Y,"Dollars","Currency"); // changed spellings here.
Y = Replace(Y,"Cents","Subcurrency");