-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
uint8_t formatted as a character by default #217
Comments
Hi, @Nekotekina. No, this is not intentional, but an unfortunate consequence of In the meantime you can format std::uint8_t u = 42;
fmt::format("{:d}", u); or promoting the argument to fmt::format("{}", +u); |
Fixed in 7c24973. |
Thanks! |
Hi!
Was it indended that the value of
std::uint8_t
type becomes a character if formatted as{}
? It was slightly confusing.The text was updated successfully, but these errors were encountered: