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

Name

Description

d

The floating point value to convert.

Created with MrDocs