SplitScript reference / Duration / subsecondNanoseconds
Duration.subsecondNanoseconds
Method
Duration.subsecondNanoseconds() -> i32
Returns the normalized subsecond nanosecond component.
The result is always between zero and 999,999,999.
Effects: pure
Runtime behavior: available everywhere; synchronous
Examples
Inspect subsecond precision
let nanoseconds = Duration.fromSeconds(12.5).subsecondNanoseconds()