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

Reply via email to