nautilus_core::python::datetime

Function py_secs_to_millis

Source
pub fn py_secs_to_millis(secs: f64) -> u64
Expand description

Return round milliseconds (ms) converted from the given seconds.

§Parameters

secs : float The seconds to convert.

§Returns

int