absl::SixDigits

Helper function for the default StrCat() floating-point format, %.6g.

Synopsis

Declared in <absl/strings/str_cat.h>

/* implementation-defined */
SixDigits(double d);

Description

This is fast.

Return Value

A buffer holding the six-digit string representation.

Parameters

NameDescription
dThe floating point value to convert.