Jan 25, 2012

How to convert the amount into words ?


display tempStr amountStr()
{
    if(netAmount <= 0)

    return   '-'+ ' ' + '(' + currCode + ') ' + numeralsToTxt(-(netAmount))+' '+'Only';

    else

    return   '(' + currCode + ') ' + numeralsToTxt_EN(netAmount)+' ' +'Only';
}

1 comment:

Unknown said...

Hi Jyothi,
Where to write this diaplay() method?
How to call this display() method on to the report?
Reply As soon as possible?
Thanks in Advance!!