yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Emitter: produce string with trailing '.0' for floating point value with only integral part

Open romainreignier opened this issue 3 months ago • 1 comments

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

romainreignier avatar Oct 16 '25 13:10 romainreignier