nolihayati isma
10th June 2016, 08:43
Dear All

I am developing report session which the report will be auto open in csv format.

i am using below command to output the amount
tcccm.dll0010.append.field(str$(tssma102.cpam) & " " & str$(ccon.ppar) & " %",delimiter,file.record)

but the value display as 641 17.07967 %

i want to display as 641.00 17.08% which is 2 decimal point.

please assist me.

Juergen
10th June 2016, 08:58
Hi,

please use something like this:
edit$(tssma102.cpam, "ZZZZZZZZ9VD99")

Rgds,
Juergen

nolihayati isma
13th June 2016, 04:47
Dear Juergen,

Yes, your solution workable. Thank you very much

further question...if i want to display 641,00 (comma instead of dot(.))

Juergen
13th June 2016, 09:41
Hi,

then simply try
edit$(tssma102.cpam, "ZZZZZZZZ9V,99")

nolihayati isma
14th June 2016, 06:19
Thank you so much.