numeralsToTxt for Negative Value does not work

HI,

Use this code

static void Job19(Args _args)

{

int netAmount;

;

netAmount=-999;

if(netAmount <= 0)

info(strFmt("%1", ‘-’+ ’ ’ + ‘(’+ “currCode” + ‘) ’ + numeralsToTxt(-(netAmount))+’ '+‘Only’));

}

It is just like example write your logic based on this.

Thanks,
Suresh