X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fwriter.cpp;h=60914090f742acaa97b90f1f1f9c58fd03756523;hp=bcbccc240300a065ce01454409cb80049da32b1d;hb=19179a622c1de88de5ed7047643eec79f285bf2a;hpb=cbd0ddd6ee033e46646bfb85d19232c816ea1eda diff --git a/source/writer.cpp b/source/writer.cpp index bcbccc2..6091409 100644 --- a/source/writer.cpp +++ b/source/writer.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "binarywriter.h" #include "statement.h" #include "textwriter.h" @@ -53,5 +46,10 @@ void Writer::set_binary(bool b) mode = new TextWriter(out); } +void Writer::set_float_precision(unsigned fp) +{ + mode->set_float_precision(fp); +} + } // namespace DataFile } // namespace Msp