yaml-cpp
yaml-cpp copied to clipboard
Emitter: produce string with trailing '.0' for floating point value with only integral part
For example the number 1.0 will be converted to "1.0" instead of "1". This allows to keep the correct type information when parsing back the YAML.
This is an attempt to Fix #226 #412 #1016