Subject: Re: Getting result upto 10 decimal points
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Wed, 8 Jun 2005 05:46:44 -0700 (PDT)
|
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
|