Hi Krushna,

krushna sahoo <[EMAIL PROTECTED]> writes:

> I have some double value e.g 1937.966 in xml file, but after parsing through
> "SAX2XMLReader XMLReaderFactory" my application getting it as 1937.95799,
> which is wrong for my application.

Are you converting the text representation to the double type and
getting 1937.95799 or are you getting the text representation as
"1937.95799"? If it's the former, then it is most likely due to
1937.966 not being representable by double so you get the next
closest value.

Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to