[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing numbers with different precisions
On 09/02/2012 10:22, David Carlisle wrote:
A second argument to round() has been added in XPath 3.0.On 09/02/2012 09:54, Clint Redwood wrote: > I also note that the xpath function "round" doesn't have any > precision associated with it, so I can't just count the decimal > places of the shorter value and round the longer to that precision. Mind you, since it's in terms of decimal places, it can cause confusion when used with double or float data types - I would recommend only using it with xs:decimal. Michael Kay Saxonica
|
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
|