Back to Yq

To Number

pkg/yqlib/doc/operators/headers/to_number.md

4.53.2173 B
Original Source

To Number

Parses the input as a number. yq will try to parse values as an int first, failing that it will try float. Values that already ints or floats will be left alone.