View Single Post
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#7
Originally Posted by thedead1440 View Post
works on the n900 too:
Code:
/home/user # oneh=100 ; getcurrent=123 ;timeshundred=$(($get
current*$oneh)) ; echo $timeshundred
12300
/home/user #
Okay so a completely fresh script on the N900 in question with the above works.
So is there something I have done further back in the script that is effecting it?

I have tried "let" and "expr" style claculations with the same results.
I also originally tried just putting "$getcurrent*100" and got the issue.

Installing bash now to see if it makes a difference.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.