We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9aa40 commit 594a370Copy full SHA for 594a370
src/compas_fab/robots/time_.py
@@ -8,12 +8,15 @@
8
9
10
class Duration(object):
11
- """Duration consists of two integers: seconds and nanoseconds.
+ """Duration consists of two values: seconds (float) and nanoseconds (int).
12
+
13
+ The total number of seconds is the sum of these values.
14
+ The decimal portion of the secs variable is converted to an integer and added to nsecs.
15
16
Attributes
17
----------
- secs: int
- Integer representing number of seconds.
18
+ secs: float
19
+ Float representing number of seconds.
20
nsecs: int
21
Integer representing number of nanoseconds.
22
"""
0 commit comments