[#absl-FormatConversionSpec-has_zero_flag]
= xref:absl.adoc[absl]::xref:absl/FormatConversionSpec.adoc[FormatConversionSpec]::has&lowbar;zero&lowbar;flag
:relfileprefix: ../../
:mrdocs:

Indicates whether zeroes should be prepended to the result for this conversion character instead of spaces&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;str&lowbar;format&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
has&lowbar;zero&lowbar;flag() const;
----

== Description

This flag is set through use of the &apos;0&apos; character in the format string&period; E&period;g&period; &quot;%0f&quot;

== Return Value

`true` if the zero&hyphen;pad flag is set&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
