diff options
author | clyne <clyne@bitgloo.com> | 2020-06-28 12:33:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 12:33:42 -0400 |
commit | 703b3fb5b0d4db4b590874a64fd97c828aa85190 (patch) | |
tree | c05041cfba64bb88cbdb31937de262c5de9b375b | |
parent | c606eaa166865e9e452638e8afe8e8f1d99ab7dd (diff) |
Update README.md
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ Try it [on Compiler Explorer](https://godbolt.org/z/T-MFoh). `f_to_string.hpp`, requiring C++20, provides an `f_to_string` utility for floating-point conversion: -``` +```cpp puts(f_to_string<3.1415926>); // Defaults to 5-point precision: "3.14159" puts(f_to_string<{3.1415926, 7}>); // Specify precision: "3.1415926" ``` |