BashScripts.org
http://bashscripts.org/forum/

let bigInt
http://bashscripts.org/forum/viewtopic.php?f=16&t=1146
Page 1 of 1

Author:  happykorax [ Thu Jul 15, 2010 1:32 am ]
Post subject:  let bigInt

Hi all,
I need to know how I can handle with LET() ... as we say (bigInt) numbers with let ....

./watchdog.sh: line 31: let: buf3= 1.3505E+10- 1.2215E+10: syntax error in expression (error token is ".3505E+10- 1.2215E+10")

Thanks all.
Till.

Author:  Watael [ Sat Jul 17, 2010 1:46 am ]
Post subject:  Re: let bigInt

Hi,

bash can't. you'd need an extenal program to handle such arithmetics (bc, awk...)

Page 1 of 1 All times are UTC - 6 hours
© 2000, 2002, 2005, 2007 phpBB Group • http://www.phpbb.com