[#absl-Duration-operator_star_eq-02]
= xref:absl.adoc[absl]::xref:absl/Duration.adoc[Duration]::operator&ast;&equals;
:relfileprefix: ../../
:mrdocs:

Multiplies this duration by an integral factor, forwarding to the `int64&lowbar;t` overload&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    &sol;&ast; implementation-defined &ast;&sol; = 0&gt;
xref:absl/Duration.adoc[Duration]&
operator&ast;&equals;(T r);
----

== Description

Overloads that forward to either the int64&lowbar;t or double overloads above&period; Integer operands must be representable as int64&lowbar;t&period; Integer division is truncating, so values less than the resolution will be returned as zero&period; Floating&hyphen;point multiplication and division is rounding (halfway cases rounding away from zero), so values less than the resolution may be returned as either the resolution or zero&period; In particular, `d &sol; 2&period;0` can produce `d` when it is the resolution and &quot;even&quot;&period;

== Return Value

A reference to this duration&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *r*
| The factor to multiply by&period;
|===


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