Skip to content

use printf for floats (in database)

Sylvain Fargier requested to merge wip-float-format into master
  • std::to_string will always format floats with 0.000000, which may grow big and/or lose precision for small numbers.
  • %G will print decimals only when needed and turn into scientific notation whenever needed

Merge request reports