Using Ubuntu 13.10, bash and zenity, I am building a simple checkbook utility. In the code below, the section with all the commented math commands are the ones that I have tried. There is also a problem with the part of the value to the right of the decimal point as evidenced by the following error message:
/home/larry/bin/chkbk: line 144: let: tmp[7]=163.41-40.00+0: syntax error: invalid arithmetic operator (error token is ".41-40.00+0")
I would appreciate any help.
thanks....

This question appears to be off-topic. The users who voted to close gave this specific reason:

"This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – karel, Olli, Amith KK, souravc, mikewhatever