Subject: Re: [xsl] XPath: comparison of -0.0e0 and +0.0e0|
From: Oliver Hallam <oliver@xxxxxxxxxxx>
Date: Sun, 19 Jun 2011 22:21:35 +0100
1 div +0.0e0 gives the result INF 1 div -0.0e0 gives the result -INF
On 19 June 2011 21:13, Stefan Krause<stf@xxxxxxxx> 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?