09-17-2018, 07:39 PM
[member=411]bitsnpcs[/member] in the first image you get an error because there cannot be spaces between "result=`echo" you wrote "result= `echo" and that's why it didn't work. The whole thing should look like this, with no spaces between " =` " in order to work as it is supposed to:
Code:
$ result=`echo "$no * 1.5" | bc`
Without each others help there ain't no hope for us 
Need a translation service? https://www.deepl.com/es/translator

Need a translation service? https://www.deepl.com/es/translator