Skip to content
Snippets Groups Projects
  • Jan-Philipp Litza's avatar
    f7eda938
    respondd modules: Use proper formatting of doubles · f7eda938
    Jan-Philipp Litza authored
    Most doubles that are delivered via respondd have limited input
    precision, but are converted with up to 17 digits of precision. That can
    cause ugly blowups like 0.2800000000000001 in the output, which is
    avoided by specifying better format strings (like "%.2f" in most cases).
    f7eda938
    History
    respondd modules: Use proper formatting of doubles
    Jan-Philipp Litza authored
    Most doubles that are delivered via respondd have limited input
    precision, but are converted with up to 17 digits of precision. That can
    cause ugly blowups like 0.2800000000000001 in the output, which is
    avoided by specifying better format strings (like "%.2f" in most cases).