nautilus_core::python::datetime

Function py_secs_to_nanos

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

Return round nanoseconds (ns) converted from the given seconds.

§Parameters

secs : float The seconds to convert.

§Returns

int