Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


wrong number format xml xsl

From: "joost" <noreple@----.-->
To: NULL
Date: 12/8/2007 9:34:00 PM

Hello i have the following problem.
I have a xml file where value 44.24688969 is in.
I want to be the format 22,24 therefore i use in dreamweaver the
format-number(value,'#,##.00') see codes.
When testing it i got the number 44.24188969 in the browser.

Can anyone solve my problem to get the result to 44.24

Thanks

XML code
<?xml version = "1.0" encoding = "UTF-8" ?>
<test>
<record>
<value>44.24188969</value>
</record>

Dreamweaver code:
 <table width="607" border="0">
  <tr>
 <td width="41"><div align="right" class="style1"><xsl:value-of
select="format-number(value,'#,##.00')"/></div></td>
 </tr>
</table>





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent