i have a total amount field in one report and i have to Display amount in word.
Ex. : 12,000 - > Twelve thousand only.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ankur MistryPosted Nov 30, 2015, 1:02 PM
Sourabh SomaniPosted Nov 30, 2015, 12:46 PM
Ankur MistryPosted Nov 30, 2015, 12:12 PM
Sourabh SomaniPosted Nov 30, 2015, 11:50 AM
You can use ToWords() Function in Your Crystal Report...
e.g.
currencyvar tt;
currencyvar dect;
tt :=100.30;
dect := tt - Truncate(tt);
tt := truncate(tt);
dect := dect * 100;
if dect = 0 then
'Rupees ' + ToWords (tt,0 ) + ' Only'
else
'Rupees ' + ToWords (tt,0) + ' And Paisa ' + ToWords(dect,0) + ' Only ';