Files
scylladb/core
Nadav Har'El 5b071fd224 sstring: support to_sstring() for floating-point
std::to_string() can also convert a floating-point argument to string,
using the "%f" printf format (see
	http://en.cppreference.com/w/cpp/string/basic_string/to_string )
So add this support to our to_sstring() as well.

Note that if you want to use a different format, e.g., "%g", you can,
by using the to_sstring_sprintf function, for example

	to_sstring_sprintf(12345678.9, "%g")

results in "1.23457e+07".

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
2014-12-30 17:00:46 +02:00
..
2014-10-05 18:09:09 +03:00
2014-10-22 16:37:36 +03:00
2014-10-05 19:58:12 +03:00
2014-12-09 10:08:48 +02:00
2014-11-05 11:35:50 +02:00
2014-10-30 14:08:23 +02:00
2014-12-15 19:39:33 +08:00
2014-10-21 16:58:35 +02:00