These are chat archives for fmtlib/fmt

27th
Nov 2015
bigbang1986
@bigbang1986
Nov 27 2015 17:48
what the equivalent of "printf("%.2f\n", 1.23456);" in cppformat?
what's the equivalent of "printf("%.2f\n", 1.23456);" in cppformat?
Victor Zverovich
@vitaut
Nov 27 2015 19:11
@bigbang1986 fmt::print("{:.2f}\n", 1.23456); or fmt::printf("%.2f\n", 1.23456);