2007 Oct 08 6:53 AM
Hi,
I have a problem in displaying a variable in a smartform..The variable shows some blank space that preceeds the data.
for eg:,
variable = 18.000.
How to remove space before 18.000?
Hi,
I have a problem in displaying a variable in a smartform..The variable shows some blank space that preceeds the data.
for eg:,
variable = 18.000.
How to remove space before 18.000?
2007 Oct 08 6:56 AM
To remove the decimal places for quantity and rate/quantity , use the syntax to restrict the number of digits after decimal places. The syntax is
&symbol(.N)&
where N is number of decimal places.
Since you dont want decimals use &symbol(.0)&
For the other case it depends on how the currency is represented , any way try using the syntex &symbol(T)&
Please give me reward point If it is useful
Thanks
Murali Poli
2007 Oct 08 6:56 AM
declare a typr c varaible in global definitions
zchar type char10
create program lines as:
input parameter:
zint(ur variable holding value 18)
output parameter:
zchar
Code:
write zint to zchar.
condense zchar.
in da text element display zchar
plz reward points if dis helps
2007 Oct 08 6:57 AM
2021 Sep 27 11:45 AM
Thank For your Solution.
I was try number of time try to remove leading space in smartform text .
it was resolve using &Variable(C)&
2007 Oct 08 6:59 AM
Friends ...
variable = 18.000
i dont want space between = and 18.000...decimal is required.
2007 Oct 08 7:32 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |