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