absl::ToDoubleSeconds

Converts a Duration to a floating-point count of seconds.

Synopsis

Declared in <absl/time/time.h>

double
ToDoubleSeconds(Duration d);

Return Value

The number of seconds in d, including any fraction.

Parameters

NameDescription
dThe duration to convert.