[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple calculator



On Tue, Aug 04, 1998 at 03:32:33PM -0700, David Welton wrote:
> @heorot [~] $ echo $((1.1+1.1))
> bash: 1.1+1.1: syntax error in expression (error token is ".1+1.1")

meskes@feivel:~/todo/calc$ ./calc 1.1+1.1
         2.2

> 15k is beans if it does what one would expect of a 'real'
> calculator:->  That goes for bc as well.. :
> 
> 20.00 / 13.00
> 1

meskes@feivel:~/todo/calc$ ./calc 20.0/13.0
         1.538461538461539

So I guess it qualifies. :-)

Michael
-- 
Dr. Michael Meskes		meskes@online-club.de, meskes@debian.org
Go SF49ers! Go Rhein Fire!	Use Debian GNU/Linux! 


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: