I'm not sure but I think pyyaml recognizes '0' as an integer and '0.0' as a float. I guess it doesn't matter here.