diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2002-10-29 10:31:12 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2002-10-29 10:31:12 +0000 |
| commit | 7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b (patch) | |
| tree | a79e46bd577bb1f7f2cc063cf007406efa4c22c3 /Doc | |
| parent | unposted: add apt-cache showsrc part missing from 16463. (diff) | |
| download | zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.gz zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.bz2 zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.lz zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.xz zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.zst zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.zip | |
17868: Allow $SECONDS to become floating point.
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/Zsh/params.yo | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index f45a9eb39..889ab3f85 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -589,6 +589,12 @@ The number of seconds since shell invocation. If this parameter is assigned a value, then the value returned upon reference will be the value that was assigned plus the number of seconds since the assignment. + +Unlike other special parameters, the type of the tt(SECONDS) parameter can +be changed using the tt(typeset) command. Only integer and one of the +floating point types are allowed. For example, `tt(typeset -F SECONDS)' +causes the value to be reported as a floating point number. The precision +is six decimal places, although not all places may be useful. ) vindex(SHLVL) item(tt(SHLVL) <S>)( |
