[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error in math args?
From: |
Paul Jarc |
Subject: |
Re: error in math args? |
Date: |
Wed, 30 Nov 2005 11:49:28 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
Scott Dylewski <scott@dylewski.com> wrote:
> I get an error when running:
> echo $(( 008 / 2 ))
Numbers starting with 0 are interpreted as octal, and so can only use
digits 0-7. You'll have to strip off the leading zeros to make the
number be interpreted as decimal.
paul