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
Unless alternative representation is requested the trailing zeros are removed, also the decimal point character is removed if no fractional part is left`.
Docs:
According to http://fmtlib.net/latest/syntax.html#grammar-token-int_type and https://en.cppreference.com/w/cpp/io/c/fprintf type
:g
must remove trailing zeroes:Current behaviour:
produces
0.1000000000000000
The text was updated successfully, but these errors were encountered: