|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT 2.0 Decimal number silliness
> -----Original Message----- > From: Andreas L. Delmelle [mailto:a_l.delmelle@xxxxxxxxxx] > > > -----Original Message----- > > From: Jeff Kenton [mailto:jkenton@xxxxxxxxxxxxx] > > > <snip /> > > Both lines of output should be equal. There's got to be > > something better. At least allow specification of number of > > fraction digits. > > > > Hi, > > Hmm.. Any reason why you can't use format-number() (possibly in combo with > xsl:decimal-format) > Just to be curious, does <xsl:value-of select="2.000 div 3.000" /> <xsl:value-of select="0.4 div 0.6" /> make a difference? I'm guessing the number of significant digits is related to the number specified in the operands... Cheers, Andreas
|
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
|

Cart








