You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would love to have the ability to specify the precision/digits to use when writing out floats. Currently cpptoml is writing out numbers like 0.29799999999999999 and 0.60999999999999999 which contain way too much precision for the source #s (0.298 and 0.610) and simply being able to tell cpptoml to round all doubles to X digits would not only fix that but make these much friendlier and more accurate numbers for human readers/editors of the config.
The text was updated successfully, but these errors were encountered:
Would love to have the ability to specify the precision/digits to use when writing out floats. Currently
cpptoml
is writing out numbers like 0.29799999999999999 and 0.60999999999999999 which contain way too much precision for the source #s (0.298 and 0.610) and simply being able to tellcpptoml
to round all doubles to X digits would not only fix that but make these much friendlier and more accurate numbers for human readers/editors of the config.The text was updated successfully, but these errors were encountered: