[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: expr say "non integer argument"
From: |
jidanni |
Subject: |
Re: expr say "non integer argument" |
Date: |
Thu, 18 Feb 2010 21:35:45 +0800 |
>>>>> "CFAJ" == Chris F A Johnson <address@hidden> writes:
CFAJ> On Thu, 18 Feb 2010, address@hidden wrote:
>> $ expr 3.1 + 3
>> expr: non-numeric argument <---say "non integer argument"
>> $ expr 3.1 + 3b
>> expr: non-numeric argument
CFAJ> The expr command's arithmetic only works with integers.
Yes
CFAJ> 3.1 is not an integer, nor is 3b.
Yes
CFAJ> To do calculations with decimal fractions, I recommend awk.
Yes.
3,1 is numeric!
- expr say "non integer argument", jidanni, 2010/02/18
- Re: expr say "non integer argument", Chris F.A. Johnson, 2010/02/18
- Re: expr say "non integer argument",
jidanni <=
- Re: expr say "non integer argument", Eric Blake, 2010/02/18
- Re: expr say "non integer argument", jidanni, 2010/02/18
- Re: expr say "non integer argument", Eric Blake, 2010/02/18
- Re: expr say "non integer argument", jidanni, 2010/02/18
- diff "--git", jidanni, 2010/02/18
- Re: diff "--git", Alfred M. Szmidt, 2010/02/18
- Re: diff "--git", jidanni, 2010/02/18
- RE: expr say "non integer argument", Voelker, Bernhard, 2010/02/18
- Re: expr say "non integer argument", Eric Blake, 2010/02/18