Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: formatting numbers formatting numbersTo: NULL Date: 5/3/2006 6:09:00 AM
I have an xsl file that I am using to show a number of rows from a
database. One of the columns needs to be in a numeric format with 2
decimal places (x.xx). How do I format a number in XSL?
<xsl:for-each select="row">
<tr>
<td>
<a
href="ViewOpportunity.aspx?CompanyKey={$CompanyKey}&OppsType={@OppsI
D}">
<xsl:value-of select="@OppsType" />
</a>
</td>
<td>
<xsl:value-of select="@QuantityOppsType" />
</td>
<td>
<xsl:value-of select="@MonetaryValue" />
</td>
</tr>
</xsl:for-each>
*** Sent via Developersdex http://www.developersdex.com ***
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
