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

Smartforms

Former Member
0 Likes
578

Hi Gurus,

In my payslip smartform if the value is there means it should display the value otherwise the blank line should display for the amount field. Now am getting the 0.00 as output in my smartform. How surpress zeros in my smartform. Please give me corresponding suggestions for me.

Points will be awarded

Thanks

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
555

hi,

for smartforms and scripts only.

&symbol(Z)& Omit Leading Zeros

&symbol(S)& Omit Leading Sign

&symbol(<)& Display Leading Sign to the Left

&symbol(>)& Display Leading Sign to the Right

&symbol(C)& Compress Spaces

&symbol(.N)& Display upto N decimal places

&symbol(T)& Omit thousands separator

&symbol(R)& Right justified

&symbol(I)& Suppress output of the initial value

regards,

Prabhu

reward if it is helpful.

6 REPLIES 6
Read only

Former Member
0 Likes
555

Hi ravi,

Cheange the your data type of field from decimals in to Integer.

Thanks,

Reward If helpful.

Read only

Former Member
0 Likes
555

better to change ur variable in string format.

data a type string.

a = your variable.

print a.

reward points if useful...

Read only

Former Member
0 Likes
555

hi ravi

constants : c1 type c value '--'

write 😕 c.

just write the code in the EDIT > CHANGE EDITOR-

OPEN THAT EDITOR

write this code

Read only

Former Member
0 Likes
555

Hi,

I think you have used character format to display the currency.

If yes, if the values are zeroes, then clear the field

this will help you

Regards

Shiva

Read only

Former Member
0 Likes
555

Place a condition on the amount node(amountvalue NE 0) in the Condition tab, then the amount node will be displayed only when amount NE 0.

Read only

Former Member
0 Likes
556

hi,

for smartforms and scripts only.

&symbol(Z)& Omit Leading Zeros

&symbol(S)& Omit Leading Sign

&symbol(<)& Display Leading Sign to the Left

&symbol(>)& Display Leading Sign to the Right

&symbol(C)& Compress Spaces

&symbol(.N)& Display upto N decimal places

&symbol(T)& Omit thousands separator

&symbol(R)& Right justified

&symbol(I)& Suppress output of the initial value

regards,

Prabhu

reward if it is helpful.