Re: [dwm] Done Before: dwm stat scripts!

From: Martin Sander <forke_AT_uni-bonn.de>
Date: Tue, 2 Oct 2007 13:53:48 +0200

On Mon, Oct 01, 2007 at 06:46:24PM -0500, Kurt H Maier wrote:
> If anyone knows how to cast
> floats to int in bash let me know. :V

I guess it's not what you're looking for, but zsh can do floating point
arithmetic.

zshmodules(1):
THE ZSH/MATHFUNC MODULE
       The zsh/mathfunc module provides standard mathematical functions ...

...The functions float and int convert their arguments into a floating
point or integer value (by truncation) respectively.

Greets

Martin
Received on Tue Oct 02 2007 - 13:54:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:56:50 UTC