Skip to content

SdlNSToMS

Convert nanoseconds to milliseconds.

Definition

Unit: Neslib.Sdl3.Time

function SdlNSToMS(const ANanoSeconds: Int64): Integer; inline

Parameters

ANanoSeconds: Int64 : the number of nanoseconds to convert.

Returns

Integer: ANanoSeconds, expressed in milliseconds.

Remarks

It is safe to call this function from any thread.