From e57c15bf111fec06a231c8e2cf5b6165cf722d10 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Aug 2008 19:31:32 +0000 Subject: Write a less absurd number of decimal places for control values. git-svn-id: http://svn.drobilla.net/lad/raul@1421 a436a847-0d15-0410-975c-d299462d15a1 --- raul/AtomRDF.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raul/AtomRDF.hpp b/raul/AtomRDF.hpp index 10e3444..ac595d7 100644 --- a/raul/AtomRDF.hpp +++ b/raul/AtomRDF.hpp @@ -73,7 +73,7 @@ atom_to_node(Redland::World& world, const Atom& atom) type = librdf_new_uri(world.world(), CUC("http://www.w3.org/2001/XMLSchema#integer")); break; case Atom::FLOAT: - os.precision(20); + os.precision(8); os << atom.get_float(); str = os.str(); if (str.find(".") == std::string::npos) -- cgit v1.2.1