numbervar RmVal:=0; numbervar Amt:=0; numbervar pAmt:=0; stringvar InWords :="Rupees "; Amt := numeric value ; if Amt > 10000000 then RmVal := truncate(Amt/10000000); if Amt = 10000000 then RmVal := 1; if RmVal = 1 then InWords := InWords + " " + towords(RmVal,0) + " crore" else if RmVal > 1 then InWords := InWords + " " + towords(RmVal,0) + " crores"; Amt := Amt - Rmval * 10000000; if Amt > 100000 then RmVal := truncate(Amt/100000); if Amt = 100000 then RmVal := 1; if Amt 1 then InWords := InWords + " " + towords(RmVal,0) + " lakhs"; Amt := Amt - Rmval * 100000; if Amt > 0 then InWords := InWords + " " + towords(truncate(Amt),0); pAmt := (Amt - truncate(Amt)) * 100; if pAmt > 0 then InWords := InWords + " and " + towords(pAmt,0) + " paisa only" else InWords := InWords + " only"; UPPERCASE(InWords)
One Million, Two Hundred Thousand.
I assume the 'M' means million. Then 1.2 million = 1,200,000
One million two hundred thousand. One two zero zero zero zero zero.
1200000 pounds
numbervar RmVal:=0; numbervar Amt:=0; numbervar pAmt:=0; stringvar InWords :="Rupees "; Amt := numeric value ; if Amt > 10000000 then RmVal := truncate(Amt/10000000); if Amt = 10000000 then RmVal := 1; if RmVal = 1 then InWords := InWords + " " + towords(RmVal,0) + " crore" else if RmVal > 1 then InWords := InWords + " " + towords(RmVal,0) + " crores"; Amt := Amt - Rmval * 10000000; if Amt > 100000 then RmVal := truncate(Amt/100000); if Amt = 100000 then RmVal := 1; if Amt 1 then InWords := InWords + " " + towords(RmVal,0) + " lakhs"; Amt := Amt - Rmval * 100000; if Amt > 0 then InWords := InWords + " " + towords(truncate(Amt),0); pAmt := (Amt - truncate(Amt)) * 100; if pAmt > 0 then InWords := InWords + " and " + towords(pAmt,0) + " paisa only" else InWords := InWords + " only"; UPPERCASE(InWords)
The standard form is 1,200,000
(1x1000000)+(2x100000)
One million, two hundred thousand.
120,000
One Million, Two Hundred Thousand.
You can't, Dollars is not a numbering system, it is a currency.
1 000 000 009 can be written as - One thousand million and nine
one million, two hundred thousand.
Fifty million, four hundred forty-eight thousand, one hundred sixty-five and two tenths.
I assume the 'M' means million. Then 1.2 million = 1,200,000
That's 73.56%