diff options
author | Adam Chlipala <adam@chlipala.net> | 2013-12-03 16:54:04 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2013-12-03 16:54:04 -0500 |
commit | d89fd37a66ab73ea7eba5e2574c4e679c4026f0b (patch) | |
tree | ae916e054118cec51b56e8eeb0f0a6f1157cb648 /src/sqlite.sml | |
parent | abf4da5f80ce9ba5f693aa8fc2493eb28cd8e6f3 (diff) |
Increase precision for rendering floats to SQL
Diffstat (limited to 'src/sqlite.sml')
-rw-r--r-- | src/sqlite.sml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqlite.sml b/src/sqlite.sml index 4ec64788..09c4c683 100644 --- a/src/sqlite.sml +++ b/src/sqlite.sml @@ -160,7 +160,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, box [string "uw_sqlfmtInt = \"%lld%n\";", newline, - string "uw_sqlfmtFloat = \"%g%n\";", + string "uw_sqlfmtFloat = \"%.16g%n\";", newline, string "uw_Estrings = 0;", newline, |