We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include <iostream> #include "fmt/printf.h" #pragma comment(lib, "fmtd.lib") int main() { double someVerySmallValue = 7.2809479766055470e-15; printf("%.4lf\n", someVerySmallValue); fmt::printf("%.4lf\n", someVerySmallValue); printf("Done\n"); }
Produces the following on x86 MSVC 2019
0.0000 0.00001 Done
Weirdly in my actual project code I see 0.00000 when I would expect 0.0000
The text was updated successfully, but these errors were encountered:
Great catch, thanks! Fixed in edd13fc.
Sorry, something went wrong.
No branches or pull requests
Produces the following on x86 MSVC 2019
0.0000
0.00001
Done
Weirdly in my actual project code I see 0.00000 when I would expect 0.0000
The text was updated successfully, but these errors were encountered: