Skip to content

SdlNSToSeconds

Convert nanoseconds to seconds.

Definition

Unit: Neslib.Sdl3.Time

function SdlNSToSeconds(const ANanoSeconds: Int64): Double; inline

Parameters

ANanoSeconds: Int64 : The number of nanoseconds to convert.

Returns

Double: ANanoSeconds, expressed in seconds.

Remarks

It is safe to call this function from any thread.