absl::FormatConversionSpec::precision

Returns the specified precision (through use of the '.' character followed by a non-zero integer value or '*' character) of the conversion character.

Synopsis

Declared in <absl/strings/str_format.h>

int
precision() const;

Return Value

The precision, or a negative value if precision is unspecified.