Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding smart forms

Former Member
0 Likes
974

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...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
935

If the value is less than zero

Take a temp variable and store the value in it and multiply it by minus 1

8 REPLIES 8
Read only

Former Member
0 Likes
935

try to write this way may be it works

<b>&variable(S)&</b>

Read only

0 Likes
935

i tried with &var(s)&.it ddintr work.any idea but this thing woked

out = int * - 1.

Read only

0 Likes
935

Hi,

Type of the variable VAR may not be P or I or F or N.

Thanks and Regards,

Bharat Kumar Reddy.V

Read only

0 Likes
935

TRY ONES AGAIN

&VARIBALE(S)&

<b>S---->CAPITAL</b>

Read only

Former Member
0 Likes
935

in that case , do like this

output = input * - 1.

Regards

Prabhu

Read only

Former Member
0 Likes
936

If the value is less than zero

Take a temp variable and store the value in it and multiply it by minus 1

Read only

Former Member
0 Likes
935
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
Read only

Former Member
0 Likes
935

Hi

Use this in your code to suppress the sign

&field(S)&