Fix float64 truncation error (#293)

Don't truncate float64 representation on marashaling.

Fixes https://github.com/pelletier/go-toml/issues/289
This commit is contained in:
Chris
2019-08-26 22:57:02 -05:00
committed by Thomas Pelletier
parent 781fbae71e
commit 3ded2e09ee
4 changed files with 20 additions and 7 deletions
+1
View File
@@ -4,6 +4,7 @@ title = "TOML Marshal Testing"
bool = true
date = 1979-05-27T07:32:00Z
float = 123.4
float64 = 123.456782132399
int = 5000
string = "Bite me"
uint = 5001