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/Zsh/params.yo | |
parent | 63d92c10da7a9f28ec5325a0aa35f1aa9de20625 (diff) | |
download | zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.gz zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.tar.xz zsh-7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b.zip |
17868: Allow $SECONDS to become floating point.
Diffstat (limited to 'Doc/Zsh/params.yo')
-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>)( |