From 7bfc0f1b5c3f4f02193d7b5e1d631b224e054f8b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 29 Oct 2002 10:31:12 +0000 Subject: 17868: Allow $SECONDS to become floating point. --- Doc/Zsh/params.yo | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Doc') 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) )( -- cgit 1.4.1