Another trick you can do is taking the inverse.
1 div +0.0e0 gives the result INF
1 div -0.0e0 gives the result -INF
so for example 1 div $x > 0 is true for +0.0e0, but not -0.0e0
On 19/06/2011 22:02, Andrew Welch wrote:
On 19 June 2011 21:13, Stefan Krause<stf(_at_)snafu(_dot_)de> wrote:
Hello,
how can I distinguish -0.0e0 from +0.0e0? The comparison operators (eq, lt, gt)
are not supposed to to the job, and I am not sure if comparing string values is
the right way. Any other suggestions?
I think treating them as strings is the only way... Out of interest,
why do you need to distinguish them?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--