Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: wrong number format xml xsl wrong number format xml xslTo: 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> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
