[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting result upto 10 decimal points
Thanks James , and Pete for help .. I am obliged Regards, Mukul --- James Fuller <jim.fuller@xxxxxxxxxxxxxx> wrote: > Mukul Gandhi wrote: > > >I am given this XML document - > > > ><xml> > > <pulse>70.565455</pulse> > > <amplitude>100.8765466</amplitude> > ></xml> > > > >I have to output the "pulse / amplitude" upto 10 > >decimal places ..? > > > >Any helps please ? > > > > > > if its just a matter of formating use either > xsl:decimal-format pr > format-number(), but realise that both were quite > under spec in XSLT > 1.0...and I wont even comment on the issue of > precision with the numbers > that you have presented above. > > http://www.zvon.org/xxl/XSLTreference/Output/function_format-number.html > http://www.w3schools.com/xsl/el_decimal-format.asp > > you may find some more reasoning here > http://www.dpawson.co.uk/xsl/sect2/N5121.html#d6069e652 > > gl, Jim Fuller > > __________________________________ Discover Yahoo! Find restaurants, movies, travel and more fun for the weekend. Check it out! http://discover.yahoo.com/weekend.html
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|