> > Hello! Couldn't xpath function round() in future accept an > optional integer parameter that decides how many decimals to preserve? > That would imply: > round(1.187) = 1 > round(1.187, 1) = 1.2 > round(1.187, 2) = 1.19 > This functionality is available (though with a slightly different rounding algorithm) in the round-half-to-even function. Michael Kay http://www.saxonica.com/Received on Friday, 18 May 2007 10:12:47 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:19 GMT