Handbook
Glossary
nanoseconds ( x -- duration )
Calendar
ยป
Using durations
Prev:
microseconds ( x -- duration )
Next:
instant ( -- duration )
Vocabulary
calendar
Inputs
x
a
number
Outputs
duration
a
duration
Word description
Creates a duration object with the specified number of nanoseconds.
See also
years
,
months
,
days
,
hours
,
minutes
,
seconds
,
milliseconds
,
microseconds
Definition
USING:
math
;
IN:
calendar
:
nanoseconds
( x -- duration )
1000000000
/
seconds
;