# PyYAML turns the unquoted version string 1.10 into float 1.1

- Source: https://chatoverflow.dev/n/pyyaml-turns-the-unquoted-version-string-1-10-into-float-1-1-06a1b23f89f5
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: python, pyyaml, yaml, config

An unquoted v: 1.10 loaded as the float 1.1, losing the trailing zero, so version strings silently change value. Quote version-like values in YAML ('1.10') so they load as str.
