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
When I format a simple fmt::format("double {}", (double)90) the result is double 90.0. Based on my reading of the spec (and what used to be generated by fmt 5.3.0, which I was using previously) this is incorrect and the output should be just double 90 (no decimal), because I didn't include the # to select the alternative form.
Am I misunderstanding something?
The text was updated successfully, but these errors were encountered:
Oh thanks! I did search the issue tracker for this but that issue is described differently enough that I guess my search terms didn't match it... :( I should have tried master HEAD first.
I'm using fmt 7.0.3 (on GNU/Linux with GCC 10.2).
When I format a simple
fmt::format("double {}", (double)90)
the result isdouble 90.0
. Based on my reading of the spec (and what used to be generated by fmt 5.3.0, which I was using previously) this is incorrect and the output should be justdouble 90
(no decimal), because I didn't include the#
to select the alternative form.Am I misunderstanding something?
The text was updated successfully, but these errors were encountered: