From: "NAKAMURA, Hiroshi" Date: 2004-05-06T16:26:30+09:00 Subject: Re: 0.0 sign Hi, Elias Athanasopoulos wrote: > Yes, but how can you distinguish them *inside* your code? Since > 0.0 == -0.0, 0.0 === -0.0 and even 0.0.eql?(-0.0) is true. Check XSDFloat implementation at xsd/datatypes.rb in ruby > 1.8.1 or http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/lib/soap4r/lib/xsd/datatypes.rb?rev=1.13 I hope this helps. Regards, // NaHi