2006 Aug 23 7:43 AM
hi,
i want to remove negative sign for a variable (i am displaying discount value for which they dont want the negative sign to b displayed.)how can i suppress the negative sign which is present at the end of the value..for eg 4.00-
any idea.thanx in advance...
2006 Aug 23 7:45 AM
If the value is less than zero
Take a temp variable and store the value in it and multiply it by minus 1
Hi
Use this in your code to suppress the sign
&field(S)&
2006 Aug 23 7:45 AM
2006 Aug 23 7:54 AM
i tried with &var(s)&.it ddintr work.any idea but this thing woked
out = int * - 1.
2006 Aug 23 8:08 AM
Hi,
Type of the variable VAR may not be P or I or F or N.
Thanks and Regards,
Bharat Kumar Reddy.V
2006 Aug 23 8:12 AM
2006 Aug 23 7:45 AM
in that case , do like this
output = input * - 1.
Regards
Prabhu
2006 Aug 23 7:45 AM
If the value is less than zero
Take a temp variable and store the value in it and multiply it by minus 1
2006 Aug 23 7:46 AM
Hi
You can use this way,
<b>write l_neg to l_pos no-sign</b>
and use l_pos to print.
Kind Regards
Eswar
2006 Aug 23 7:48 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |