W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2004

Avg() or round() : How to limit the decimal place?

From: Houman Khorasani <khorasani@web.de>
Date: Fri, 25 Jun 2004 14:18:19 -0500
To: www-ql@w3.org
Message-id: <01LBPTWO2I0A8XG2TE@uwplatt.edu>

Hello,

The avg() function im statement returns values like that:
<avgDelay>48413.448275862068965517</avgDelay>

If I use round() so I would get 48413.  But how do I get 48413.4483 ? How
can I limit the decimal place to 4?

I couldn't find anything in W3 Draft.

Thanks
Houman
Received on Friday, 25 June 2004 15:20:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT