Skip to content

Commit

Permalink
Prefer print over float
Browse files Browse the repository at this point in the history
  • Loading branch information
mkelley committed Nov 12, 2024
1 parent eb24373 commit e51896b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sbpy/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Or, use the ``et`` property to transform dates to ephemeris time:

.. doctest::

>>> float(Time("2010-11-04 13:59:47.31", scale="utc").et) # doctest: +FLOAT_CMP
>>> print(Time("2010-11-04 13:59:47.31", scale="utc").et) # doctest: +FLOAT_CMP
342151253.4925505

The conversion from UTC is thought to be good to the 0.1 ms level. See the `sbpy` tests for more information.
Expand Down

0 comments on commit e51896b

Please sign in to comment.