Hi Mahesh,
Ok, now I see what you are meaning... you are talking about the total count of notes so that's using the mod operator... change to the following code:
for(int i = 0; i < count.length; i++)
{
int num = Integer.parseInt(count[i]) % 10;
for(int j = 0; j < num; j++)
{
result.addValue("");
}
if(i < count.length - 1)
result.addContextChange();
}
Regards,
Ryan Crosby