diff options
author | David Robillard <d@drobilla.net> | 2008-08-17 19:31:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-17 19:31:32 +0000 |
commit | e57c15bf111fec06a231c8e2cf5b6165cf722d10 (patch) | |
tree | f1ca251ea46871a535f147329b41b52581ec5085 /raul/AtomRDF.hpp | |
parent | cc1d61ad8ab6712e819545cd225896143f9fe8c4 (diff) | |
download | raul-e57c15bf111fec06a231c8e2cf5b6165cf722d10.tar.gz raul-e57c15bf111fec06a231c8e2cf5b6165cf722d10.tar.bz2 raul-e57c15bf111fec06a231c8e2cf5b6165cf722d10.zip |
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
Diffstat (limited to 'raul/AtomRDF.hpp')
-rw-r--r-- | raul/AtomRDF.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |