[xml] Getting crazy with float parsing
- From: Daniel Veillard <veillard redhat com>
- To: Bjorn Reese <breese mail1 stofanet dk>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: [xml] Getting crazy with float parsing
- Date: Sun, 5 May 2002 13:34:15 -0400
Hi Bjorn,
I have spent 2 hours on bug 80798
http://bugzilla.gnome.org/show_bug.cgi?id=80798
and I'm starting to wonder if I'm simply turning crazy.
I cannot get xmlXPatythStringEvalNumber to read "39413.80" as such
and not as 39413.800000000003 or some similary biased value, whatever
trick I play.
Any idea ? Would trio handle this correctly (assuming the string has
been first checked to be of the right format) ?
this really drive me nuts,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]