Avoid using leading zeros in numeric valuesedit
If you use a leading zero (for example, 09) in a numeric field without wrapping the value in single quotation marks, the value may be interpreted incorrectly by the YAML parser. If the value is a valid octal, it’s converted to an integer. If not, it’s converted to a float.
To prevent unwanted type conversions, avoid using leading zeros in field values, or wrap the values in single quotation marks.
如果您在数字字段中使用前导零(例如:09)而不将值括在单引号中,则 YAML 解析器可能会错误地解释该值。如果该值是有效的八进制,则将其转换为整数。如果不是,则将其转换为浮点数
为防止不需要的类型转换,请避免在字段值中使用前导零,或将值括在单引号中。