[#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. Note that the return value may be negative. Also note that the conversion from the internal representation to `double` may _lose_ precision. == Synopsis Declared in `<bdlt_datetimeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- double totalSecondsAsDouble() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#