W3C home > Mailing lists > Public > www-math@w3.org > November 2012

Re: round symbol

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 05 Nov 2012 12:16:24 +0000
Message-ID: <5097AE18.50806@nag.co.uk>
To: Daniel Marques <dani@wiris.com>
CC: www-math@w3.org
On 05/11/2012 11:48, Daniel Marques wrote:
> Hello,
>
> We need to represent expressions involving the "round" function in
> content MathML.
>
> For ceiling and floor there exists the tags <ceiling/> and <floor/>. Is
> there any one for round?.
>
> I assume that one possibility is to use <csymbol
> cd="rounding1">round</csymbol>. Is that the preferred one?
>
> Dani
>

Yes I think that is correct as long as that is the variant of round that 
you want (round half even) Different systems use different terminology 
here for example xpath has two round functions

http://www.w3.org/TR/xpath-functions/#func-round

http://www.w3.org/TR/xpath-functions/#func-round-half-to-even


Depending what other functions you need you may find it more convenient 
to use your own CD with exactly the right set of functions, or perhaps 
not, it all depends....

David
Received on Monday, 5 November 2012 12:16:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 12:16:54 GMT