el->setCharData("-10.97158 0 6.382055 -10.97158 0 3.26787");
cout << el->getCharData();
I get:
-10.9716 0 6.38206 -10.9716 0 3.26787
The element is float_array. What am I doing wrong and how can I get original string?
el->setCharData("-10.97158 0 6.382055 -10.97158 0 3.26787");
cout << el->getCharData();
I get:
-10.9716 0 6.38206 -10.9716 0 3.26787
The element is float_array. What am I doing wrong and how can I get original string?
learn about C++ iostream … and try for example:
cout << scientific << el->getCharData();