10-08-2007 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?
10-08-2007 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
10-08-2007 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
10-08-2007 6:57 AM
09-27-2021 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)&
10-08-2007 6:59 AM
Friends ...
variable = 18.000
i dont want space between = and 18.000...decimal is required.
10-08-2007 7:32 AM