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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 30, 2015, 6:50 AM EST
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 ';
Ankur MistryRank #86 · 23.9K reputationPosted Nov 30, 2015, 7:12 AM EST
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 30, 2015, 7:46 AM EST
Ankur MistryRank #86 · 23.9K reputationPosted Nov 30, 2015, 8:02 AM EST