Open Feofilakt opened 2 years ago
Hello! Numbers are rounded and converted to exp notation: https://play.spruce.cf/#39a2a4d6ebafb495ede3dc87a4723512
--- # first.yml some_data: this will be overwritten later --- # second.yml some_data: 4200000.42
some_data: 4.2000005e+06
Its a bug or feature?
This is also part of the https://gopkg.in/yaml.v2 library. See https://github.com/go-yaml/yaml/issues/669 for more details.
If I understood that issue correctly, there is an option "%g" that must keep accuracy
Hello! Numbers are rounded and converted to exp notation: https://play.spruce.cf/#39a2a4d6ebafb495ede3dc87a4723512
some_data: 4.2000005e+06
Its a bug or feature?