How to Convert Currency into Words in Crystal Report

How to Convert Currency into Words in Crystal Report

Write one formula :

numbervar RmVal:=0;
numbervar Amt:=0;
numbervar pAmt:=0;
stringvar InWords :=”Rupees “;
Amt := {tbl_Cash.nFees};

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

Read the rest of this entry »