summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
Diffstat (limited to 'raul')
-rw-r--r--raul/AtomRedland.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/raul/AtomRedland.hpp b/raul/AtomRedland.hpp
index 09bf276..6e753d7 100644
--- a/raul/AtomRedland.hpp
+++ b/raul/AtomRedland.hpp
@@ -59,6 +59,7 @@ public:
type = librdf_new_uri(world, U("http://www.w3.org/2001/XMLSchema#integer"));
break;
case Atom::FLOAT:
+ os.precision(20);
os << atom.get_float();
str = os.str();
// xsd:decimal -> pretty decimal (float) literals in Turtle