‎2010 Jun 03 7:14 AM
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
‎2010 Jun 03 10:16 AM
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
‎2010 Jun 03 7:34 AM
‎2010 Jun 03 7:56 AM
hi,
Just use split command
SPLIT w_quan AT '.' INTO w_quan v_quan.
Hope this helps.
‎2010 Jun 03 10:16 AM
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
‎2010 Jun 03 10:42 AM
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
‎2010 Jun 03 11:02 AM
Hi,
Just like the below Code.
&wa_final-menge(Z)&
With Regards,
Sumodh.P
‎2010 Jun 03 12:19 PM
Hi,
Use &QUAN(.0)&, which will display like
1.000 as 1
2.000 as 2
10.000 as 10
Regards
Dillip
‎2010 Jun 03 11:54 AM
Hi,
Just like the below Code.
&wa_final-menge(CIZ)&
With Regards,
Pratik Shah
‎2010 Jun 03 12:15 PM
Hi,
use RESB-BDMNG data type it will work..
Thxs & Regards,
Rahul Kanth Reddy