mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update units-and-global-variables.rst
"Suffixes of" is wrong and misleading. "seconds", "minutes" etc. are suffixes of literal numbers.
This commit is contained in:
parent
c389f894b5
commit
76f5c67dcc
@ -14,7 +14,7 @@ A literal number can take a suffix of ``wei``, ``finney``, ``szabo`` or ``ether`
|
||||
Time Units
|
||||
==========
|
||||
|
||||
Suffixes of ``seconds``, ``minutes``, ``hours``, ``days``, ``weeks`` and
|
||||
Suffixes like ``seconds``, ``minutes``, ``hours``, ``days``, ``weeks`` and
|
||||
``years`` after literal numbers can be used to convert between units of time where seconds are the base
|
||||
unit and units are considered naively in the following way:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user