Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How read a filenode with value like 7.6750000000000005e-001 ?

I'm reading values from a xml file and sometimes I'd a value like 7.6750000000000005e-001 but the FileNode::isReal is not getting it right and when I put (float) file[i] it's getting 0, how do I do to get the right value and why the isReal isn't working properly ?