Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: why do ceil/floor give the decimal dot?



On Mon, May 18, 2015 at 10:39 AM, Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> BTW, there is a bug in zsh 5.0.7:
>
> ypig% typeset -F 3 x=$((17))
> ypig% print $x
> 17.000
> ypig% typeset -F 2 x=$((17))
> ypig% print $x
> 17.00
> ypig% typeset -F 1 x=$((17))
> typeset: invalid base (must be 2 to 36 inclusive): 1
>
> It is not a base here.

Fortunately I fixed that bug a few weeks ago.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author