dm_msec_to_sec Interface

public interface dm_msec_to_sec

Generic seconds to milliseconds function.


Module Procedures

private pure elemental function msec_to_sec_int32(msec) result(sec)

Converts milliseconds to seconds (4 bytes).

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: msec

Milliseconds.

Return Value integer(kind=i4)

Seconds.

private pure elemental function msec_to_sec_int64(msec) result(sec)

Converts milliseconds to seconds (8 bytes).

Arguments

Type IntentOptional Attributes Name
integer(kind=i8), intent(in) :: msec

Milliseconds.

Return Value integer(kind=i8)

Seconds.