I am writting data to a yaml file, but I noticed that when I write a matrix of floats, (or doubles) if some value is e.g. 0.01, it writes 1.0000000000000000e-02. Is there a way to set the output format to 0.01 or to shorten the output number?
1 | initial version |
I am writting data to a yaml file, but I noticed that when I write a matrix of floats, (or doubles) if some value is e.g. 0.01, it writes 1.0000000000000000e-02. Is there a way to set the output format to 0.01 or to shorten the output number?