Naveen Tech Blog
Wednesday 8 August 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';
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment