« Return to Thread: Currency format in a PDF

Currency format in a PDF

by jlr :: Rate this Message:

Reply to Author | View in Thread

How can I include the currency format in a pdf document?
I have the FinalTotal value displayed in the table, but I would
like to have the value formatted in the manner of $XXX,XXX.XX
instead of the plain number value.
Your comments are much appreciated.
CODE BELOW:
         
      <fo:table-body>
        <fo:table-row border-after-style="double" >                  
            <fo:table-cell xsl:use-attribute-sets="cell-padding" border="solid black 0.5px" >  
                <fo:block xsl:use-attribute-sets="detailtableright">    
                   <xsl:value-of select="header/FinalTotal"/>                        
                </fo:block>                          
            </fo:table-cell>    
        </fo:table-row>
      </fo:table-body>
                   
Thank you,
jlr    

 « Return to Thread: Currency format in a PDF