[#BloombergLP-bsls-TimeInterval-totalSecondsAsDouble]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::totalSecondsAsDouble
:relfileprefix: ../../../
:mrdocs:

Return the value of this time interval as a real number of seconds&period; Note that the return value may be negative and may have a fractional part (representing the nanosecond field of this object)&period; Also note that the conversion from the internal representation to a `double` may _lose_ precision&period;

== Synopsis

Declared in `&lt;bsls&lowbar;timeinterval&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
double
totalSecondsAsDouble() const;
----


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