Thanks James , and Pete for help ..
I am obliged
Regards,
Mukul
--- James Fuller <jim(_dot_)fuller(_at_)ruminate(_dot_)co(_dot_)uk> 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
--~------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
__________________________________
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.html
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--