[#BloombergLP-bdlt-DatetimeInterval-totalSecondsAsDouble]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval]::totalSecondsAsDouble
:relfileprefix: ../../../
:mrdocs:

Return the value of this time interval in seconds as a `double`, potentially with a fractional part&period; Note that the return value may be negative&period; Also note that the conversion from the internal representation to `double` may _lose_ precision&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;datetimeinterval&period;h&gt;`

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


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