i am calling 'fm' to convert digit amount to words but in print its contains minus(-) sign and because of
that its giving wrong value. the amount is 57,387,916.20- and i have to delete - from this amount.
i am using the syntax :SHIFT AMT RIGHT DELETING TRAILING '-'. but its not working.so please tell me
how to do this.
Whats the data type of the variable AMT? If its Curr then u can use the below code to remove (-).
AMT = AMT * -1.
Else if the variable is char or string just try out the below code.
SHIFT AMT RIGHT DELETING TRAILING '- '
Edited by: Nikhil Kayal on May 30, 2009 10:21 AM