Payment Details CSV format

Dear Sir,
I would like to change below “Payment details” report into CSV format.
Could you please guide me how to change successfully?
Respect,
MD Hasan
[Payment Details:2, 1, 2]
@{TICKET TYPE LIST}
@{TAX TYPE LIST}

$1
{REPORT PAYMENT DETAILS:P.Name,P.Amount.Percent,P.Amount.Sum:(TY=$1)}
{REPORT CALCULATION DETAILS:C.Name,C.X,C.CalculationAmount.Sum:(TY=$1)}
$2||{REPORT TICKET DETAILS:TX.$2.Sum:(TY=$1)}

Start by adding :{0}:,} on the end, might need to have {1},{2} etc but you need to set the formatting to use comma separator.

Thank you Mr.JTRTech,
I follow your instruction and just play around using “{0}” and ,.
i got csv format as i expected.
but one more thing i still need to request,
How can i do formatting in csv like Bold and Table border?
Please, guide me again.
Respect,
MD Hasan
sample payment details csv

[Payment Details:2, 1, 2]
||Payment details
@{TICKET TYPE LIST}
@{TAX TYPE LIST}

$1
{REPORT PAYMENT DETAILS:
P.Name,
P.Amount.Percent,
P.Amount.Sum:(TY=$1)
:"{0}","{1}","{2}","{3}","{4}"}
{REPORT CALCULATION DETAILS:
C.Name,
C.X,
C.CalculationAmount.Sum:(TY=$1)
:"{0}","{1}","{2}","{3}","{4}"}
$2||{REPORT TICKET DETAILS:TX.$2.Sum:(TY=$1)}


[Payments:2, 1, 2]
||Payment Report

Name,Percent,Amount
{REPORT PAYMENT DETAILS:
P.Name,
P.Amount.Percent,
P.Amount.Sum:Payment.Amount > 0
:"{0}","{1}","{2}","{3}"}

Total,"{REPORT PAYMENT DETAILS:P.Amount.Sum:Payment.Amount > 0}"

You cant do formatting. That will have to be done in the app after the export.

CSV does not support formatting.
If you format that CSV and try and save again as CSV excel will tell you this and tell you to change to exl or other if you want to keep ofrmatting.