Question
Novitates
IN
Last activity: 15 Oct 2024 13:13 EDT
Not able to display the comma separation for a value in the Section (HTML Source)
Using the below code I was able to add decimal point to the value. But I need the comma separation in thousand scale.
<TABLE border= 0> <tr style="background: #FFFFFF; font-size: 11px; font-weight: bold; "> <th style= "padding: 6px 2px; width: 350px; text-align: left;">Customer</th> <th style= "padding: 6px 2px; width: 150px; text-align: left;">Amount USD</th> </tr> <pega:forEach name=".IndividualEntities"> <tr border=1 style="font-size: 11px; background: #F7F7F7;" width=100%> <td style="border-bottom: 2px solid #FFFFFF; padding: 4px 2px;text-align: left;"><pega:reference name="$THIS.NAME"/> (<pega:reference name="$THIS.CLI_MID"/>)</td> <td style="border-bottom: 2px solid #FFFFFF; padding: 4px 2px; text-align: left;"><pega:reference name="$THIS.TotalAmount" format="Decimal"/></td> </tr> </pega:forEach > </TABLE>
Output: