[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] typing of integer operations in Xpath2


Subject: Re: [xsl] typing of integer operations in Xpath2
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 20 Apr 2004 20:54:51 +0100

>>>>> "Michael" == Michael Kay <mhk@xxxxxxxxx> writes:

    >> 6) The rules could be changed to avoid promoting integers to
    >> doubles, when all operands are integer, and an integer result
    >> is sensible (e.g. plus, minus, idiv, multiply)

    Michael> It is already the case that if all the operands are
    Michael> integers then the result is an integer.

OK.
What if one is a decimal, and the other a double?

-- 
Colin Paul Adams
Preston Lancashire


Current Thread