How to change the amount into -ve in CR ?

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

if {tmp_csinvinfo_os.debit}-{tmp_csinvinfo_os.credit} > 0 then
{tmp_csinvinfo_os.netbaseamt}
else
({tmp_csinvinfo_os.netbaseamt} *(-1)


the above code can't return the -ve value , how can i change the value into -ve ???
Thanks a lot
 
sorry for my stupid question.
i solved it .
"Agnes" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D:%[email protected]...
if {tmp_csinvinfo_os.debit}-{tmp_csinvinfo_os.credit} > 0 then
{tmp_csinvinfo_os.netbaseamt}
else
({tmp_csinvinfo_os.netbaseamt} *(-1)


the above code can't return the -ve value , how can i change the value into -ve ???
Thanks a lot
 
Back
Top