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 - Quantity values

Former Member
0 Likes
1,056

Dear all,

I am printing the Quantity values in my smartforms. But here quanity is showing 1.000

i need to display it as

1 <--- 1.000

2 <--- 2.000

10 <--- 10.000

plz help me I need to delete the dicimals after the values ....

Regards

margani

Edited by: margani79 on Jun 3, 2010 8:27 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,009

Hi,

&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

With Regards,

Sumodh.P

8 REPLIES 8
Read only

Former Member
0 Likes
1,009

hi,

Use qty(Z)

Read only

Former Member
0 Likes
1,009

hi,

Just use split command

SPLIT w_quan AT '.' INTO w_quan v_quan.

Hope this helps.

Read only

Former Member
0 Likes
1,010

Hi,

&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

With Regards,

Sumodh.P

Read only

0 Likes
1,009

Dear Sumodh P ,

I am already using the Compress Spaces &w_final-qty(C)& , how should i use the Omit Leading Zeros , i need to use these two compress as well as omit leading zeros

Plz help me

margani

Read only

0 Likes
1,009

Hi,

Just like the below Code.

&wa_final-menge(Z)&

With Regards,

Sumodh.P

Read only

0 Likes
1,009

Hi,

Use &QUAN(.0)&, which will display like

1.000 as 1

2.000 as 2

10.000 as 10

Regards

Dillip

Read only

Former Member
0 Likes
1,009

Hi,

Just like the below Code.

&wa_final-menge(CIZ)&

With Regards,

Pratik Shah

Read only

Former Member
0 Likes
1,009

Hi,

use RESB-BDMNG data type it will work..

Thxs & Regards,

Rahul Kanth Reddy